emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/jade-mode c513eded33 045/128: the string doctype now works


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode c513eded33 045/128: the string doctype now works as a doctype keyword.
Date: Sat, 29 Jan 2022 08:24:45 -0500 (EST)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]