branch: elpa/jade-mode
commit c513eded331a000db2f34eb4c360808c443a1116
Author: Shawn Krisman <skrisman@nodelings>
Commit: Shawn Krisman <skrisman@nodelings>
the string doctype now works as a doctype keyword.
---
jade-mode.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/jade-mode.el b/jade-mode.el
index 57a16cae4e..a2ea4491c6 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -44,7 +44,7 @@ For detail, see `comment-dwim'."
"Jade keywords.")
(setq jade-font-lock-keywords
- `((,"!!!\\( ?[A-Za-z0-9\-\_]*\\)?" 0 font-lock-comment-face) ;; doctype
+ `((,"!!!\\|doctype\\( ?[A-Za-z0-9\-\_]*\\)?" 0 font-lock-comment-face)
;; doctype
(,jade-keywords . font-lock-keyword-face) ;; keywords
(,"#\\(\\w\\|_\\|-\\)*" . font-lock-variable-name-face) ;; id
(,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(#[A-Za-z0-9\-\_]*[^
]\\)" 1 font-lock-variable-name-face) ;; id