emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/d-mode adae36d 028/346: allow !.[] in typenames


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode adae36d 028/346: allow !.[] in typenames
Date: Sun, 29 Aug 2021 10:59:58 -0400 (EDT)

branch: elpa/d-mode
commit adae36d425cc44e410a6bf1e3fb8beb7727ba06a
Author: finalpatch <fengli@gmail.com>
Commit: finalpatch <fengli@gmail.com>

    allow !.[] in typenames
---
 d-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index f629df2..c270be7 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -441,10 +441,10 @@ 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))))
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]