[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/d-mode 46a9ad2 032/346: Merge pull request #12 from finalp
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/d-mode 46a9ad2 032/346: Merge pull request #12 from finalpatch/master |
Date: |
Sun, 29 Aug 2021 10:59:59 -0400 (EDT) |
branch: elpa/d-mode
commit 46a9ad2d90270b8017a4ef18ac24a6111c32f91e
Merge: 5ef5f43 4214c49
Author: Russel Winder <russel@winder.org.uk>
Commit: Russel Winder <russel@winder.org.uk>
Merge pull request #12 from finalpatch/master
Various changes to the new code for handling font-lock highlighting, plus a
couple of regression fixes.
---
d-mode.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/d-mode.el b/d-mode.el
index f629df2..d8c63ca 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -373,7 +373,7 @@ operators."
(concat
"^\\s-*"
"\\(?:[_a-z@]+\\s-+\\)*" ; qualifiers
- "\\([][_a-zA-Z0-9.!]+\\)\\s-+" ; type
+ "\\([][_a-zA-Z0-9.*!]+\\)\\s-+" ; type
"\\([_a-zA-Z0-9]+\\)\\s-*" ; function name
"\\(?:([^)]*)\\s-*\\)?" ; type arguments
"([^)]*)\\s-*" ; arguments
@@ -441,12 +441,13 @@ Key bindings:
(font-lock-add-keywords
'd-mode
'(("\\<\\(auto\\|immutable\\)\\>" 1 font-lock-keyword-face)
- ("^[ \t]*\\(?:[_a-zA-Z0-9]+[ \t\n]+\\)*\\([_a-zA-Z0-9]+\\)[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*;"
+ ("^[ \t]*\\(?:[_a-zA-Z0-9]+[ \t\n]+\\)*\\([_a-zA-Z0-9.!]+\\)[][* ]*[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*;"
(1 font-lock-type-face)
(2 font-lock-variable-name-face))
- ("^[ \t]*\\(?:[_a-zA-Z0-9]+[ \t\n]+\\)*\\([_a-zA-Z0-9]+\\)[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*("
+ ("^[ \t]*\\(?:[_a-zA-Z0-9]+[ \t\n]+\\)*\\([_a-zA-Z0-9.!]+\\)[][* ]*[
\t\n]+\\([_a-zA-Z0-9]+\\)[ \t\n]*("
(1 font-lock-type-face)
- (2 font-lock-function-name-face))))
+ (2 font-lock-function-name-face)))
+ t)
(provide 'd-mode)
- [nongnu] elpa/d-mode 4214c49 031/346: fix a bug that incorrectly fontifies struct/class keywords (when the type has type arguments) in type face., (continued)
- [nongnu] elpa/d-mode 4214c49 031/346: fix a bug that incorrectly fontifies struct/class keywords (when the type has type arguments) in type face., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode adae36d 028/346: allow !.[] in typenames, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode ca12483 039/346: fix auto/immutable in comments, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 473fa33 040/346: Revert the 'Emergency Emacs 23 fixes', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9651a31 042/346: Remove warning regarding missing group., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3c9f78b 046/346: wording: `init file' rather than `.emacs', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode fce658e 047/346: let minor-mode automatically set syntax table, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 2d6f15d 049/346: Update the date of the file to better represent reality., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9482533 008/346: Declare the 2.0.5 release., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1e3df1c 015/346: Added 'debug' to `c-paren-nontype-kwds', ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 46a9ad2 032/346: Merge pull request #12 from finalpatch/master,
ELPA Syncer <=
- [nongnu] elpa/d-mode c2431c8 033/346: support fixed sized array, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 09b2aa8 034/346: support interface inheritance, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 5ef5f43 027/346: Re-add the removed __vector from the keyword lists. cf. 0268bde7ca6f188950486a8b55e380128223506d., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 1ae5b7f 035/346: improve the auto/immutable and access level label workarounds, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 9ce0830 045/346: fix typo, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 7bf4dbf 048/346: Merge pull request #20 from roysc/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 3d0b55e 051/346: Debian Sid only has Emacs 24.3. Changed the version number and the fix for backslash in backticks works fine., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode c810702 053/346: Add a Git ignore file and ignore all compiled files., ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode f1df773 055/346: Merge pull request #28 from dmakarov/master, ELPA Syncer, 2021/08/29
- [nongnu] elpa/d-mode 56517b5 057/346: Update the date of last amendment., ELPA Syncer, 2021/08/29