branch: elpa/jade-mode
commit d25995344203f49de13edfee9e49343b10c36e0d
Author: Shander Lam <[email protected]>
Commit: Shander Lam <[email protected]>
Change doctype facename to font-lock-comment-face.
---
jade-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jade-mode.el b/jade-mode.el
index fbc89b54a0..bc0076f108 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -26,7 +26,7 @@
(string-match-p "^[ ]*$" (jade-line-as-string)))
(setq jade-font-lock-keywords
- `((,"!!!\\( \\(default\\|5\\|transitional\\)\\)?" 0
font-lock-constant-face) ;; doctype
+ `((,"!!!\\( \\(default\\|5\\|transitional\\)\\)?" 0
font-lock-comment-face) ;; doctype
(,"#\\(\\w\\|_\\|-\\)*" . font-lock-type-face) ;; id
(,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(#[A-Za-z0-9\-\_]*[^
]\\)" 1 font-lock-type-face) ;; id
(,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(\\.[A-Za-z0-9\-\_]*\\)"
1 font-lock-function-name-face) ;; class name