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

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

[nongnu] elpa/jade-mode 4079475e60 029/128: Modify comment for font-lock


From: ELPA Syncer
Subject: [nongnu] elpa/jade-mode 4079475e60 029/128: Modify comment for font-lock-keywords matcher.
Date: Sat, 29 Jan 2022 08:24:44 -0500 (EST)

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

    Modify comment for font-lock-keywords matcher.
---
 jade-mode.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/jade-mode.el b/jade-mode.el
index 18af5515f5..fbc89b54a0 100644
--- a/jade-mode.el
+++ b/jade-mode.el
@@ -28,9 +28,9 @@
 (setq jade-font-lock-keywords
       `((,"!!!\\( \\(default\\|5\\|transitional\\)\\)?" 0 
font-lock-constant-face) ;; doctype
         (,"#\\(\\w\\|_\\|-\\)*" . font-lock-type-face) ;; id
-        (,"\\(?:^[ {2,}]+\\(?:[a-z0-9_:\\-]*\\)\\)?\\(#[A-Za-z0-9\-\_]*[^ 
]\\)" 1 font-lock-type-face) ;; class name
+        (,"\\(?:^[ {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
-        (,"^[ {2,}]+[a-z0-9_:\\-]*" 0 font-lock-comment-face)))
+        (,"^[ {2,}]+[a-z0-9_:\\-]*" 0 font-lock-comment-face))) ;; tag name
 
 (defun jade-region-for-sexp ()
   "Selects the current sexp as the region"



reply via email to

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