branch: elpa/d-mode
commit 4214c490e33b2f4dfdc81a40e3e0b4eeffe0b7e0
Author: finalpatch <[email protected]>
Commit: finalpatch <[email protected]>
fix a bug that incorrectly fontifies struct/class keywords (when the type
has type arguments) in type face.
eg. struct Vec(T, alias N)
---
d-mode.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/d-mode.el b/d-mode.el
index c76da5f..d8c63ca 100644
--- a/d-mode.el
+++ b/d-mode.el
@@ -446,7 +446,8 @@ Key bindings:
(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]*("
(1 font-lock-type-face)
- (2 font-lock-function-name-face))))
+ (2 font-lock-function-name-face)))
+ t)
(provide 'd-mode)