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

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

[nongnu] elpa/jade-mode c0b9cfc755 034/128: Modify mather for doctype.


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode c0b9cfc755 034/128: Modify mather for doctype.
Date: Sat, 29 Jan 2022 08:24:44 -0500 (EST)

branch: elpa/jade-mode
commit c0b9cfc7552eb605bcfc6679ffb26e7a87e47d83
Author: Shander Lam <shanderlam@gmail.com>
Commit: Shander Lam <shanderlam@gmail.com>

    Modify mather for doctype.
---
 jade-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/jade-mode.el b/jade-mode.el
index bea68fc81d..da44e28ab3 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-comment-face) ;; doctype
+      `((,"!!!\\( ?[A-Za-z0-9\-\_]*\\)?" 0 font-lock-comment-face) ;; doctype
         (,"#\\(\\w\\|_\\|-\\)*" . font-lock-variable-name-face) ;; id
         (,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(#[A-Za-z0-9\-\_]*[^ 
]\\)" 1 font-lock-variable-name-face) ;; id
         (,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(\\.[A-Za-z0-9\-\_]*\\)" 
1 font-lock-type-face) ;; class name



reply via email to

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