emacs: add Runtime to d-mode font-lock keywords
This commit is contained in:
parent
542d969589
commit
6b64ae00cb
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@
|
||||||
(sh-mode . bash-ts-mode)))
|
(sh-mode . bash-ts-mode)))
|
||||||
;; fix to make d-mode highlight primitive types properly
|
;; fix to make d-mode highlight primitive types properly
|
||||||
(font-lock-add-keywords 'd-mode
|
(font-lock-add-keywords 'd-mode
|
||||||
'(("\\<\\(bool\\|byte\\|ubyte\\|char\\|delegate\\|double\\|float\\|function\\|int\\|long\\|short\\|uint\\|ulong\\|ushort\\|cent\\|ucent\\|real\\|ireal\\|idouble\\|ifloat\\|creal\\|cfloat\\|cdouble\\|wchar\\|dchar\\|void\\|string\\|wstring\\|dstring\\|__vector\\|Thread\\)\\>" . 'font-lock-type-face)))
|
'(("\\<\\(bool\\|byte\\|ubyte\\|char\\|delegate\\|double\\|float\\|function\\|int\\|long\\|short\\|uint\\|ulong\\|ushort\\|cent\\|ucent\\|real\\|ireal\\|idouble\\|ifloat\\|creal\\|cfloat\\|cdouble\\|wchar\\|dchar\\|void\\|string\\|wstring\\|dstring\\|__vector\\|Runtime\\|Thread\\)\\>" . 'font-lock-type-face)))
|
||||||
|
|
||||||
;; highlight colours
|
;; highlight colours
|
||||||
(package-install 'rainbow-mode)
|
(package-install 'rainbow-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue