branch: elpa/jade-mode
commit 4079475e600596353c388cb5715fe5ff33f540ef
Author: Shander Lam <[email protected]>
Commit: Shander Lam <[email protected]>

    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