branch: elpa/d-mode
commit adae36d425cc44e410a6bf1e3fb8beb7727ba06a
Author: finalpatch <[email protected]>
Commit: finalpatch <[email protected]>
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))))