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

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

[nongnu] elpa/d-mode 2cb1fe0 030/346: don't highlight []* in type face


From: ELPA Syncer
Subject: [nongnu] elpa/d-mode 2cb1fe0 030/346: don't highlight []* in type face
Date: Sun, 29 Aug 2021 10:59:59 -0400 (EDT)

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

    don't highlight []* in type face
---
 d-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/d-mode.el b/d-mode.el
index d94835d..c76da5f 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]