Some tweaking of haml-mode Regexps.
git-svn-id: svn://hamptoncatlin.com/haml/trunk@433 7063305b-7217-0410-af8c-cdc13e5119b9
This commit is contained in:
parent
84029d35d5
commit
cfedaaf8b0
|
@ -64,11 +64,12 @@
|
||||||
;; Font lock
|
;; Font lock
|
||||||
(defconst haml-font-lock-keywords-1
|
(defconst haml-font-lock-keywords-1
|
||||||
(list
|
(list
|
||||||
'("%\\w+" . font-lock-function-name-face)
|
'("^ *%\\w+" . font-lock-function-name-face)
|
||||||
'("#\\w+" . font-lock-keyword-face)
|
'("#\\w+" . font-lock-keyword-face)
|
||||||
'("= .*" . font-lock-string-face)
|
'("\\.\\w+" . font-lock-keyword-face)
|
||||||
'("[ \t]*- .*" . font-lock-string-face)
|
'("^ *=.*" . font-lock-string-face)
|
||||||
'("!!!" . font-lock-constant-face)))
|
'("^ *-.*" . font-lock-string-face)
|
||||||
|
'("^!!!.*" . font-lock-constant-face)))
|
||||||
|
|
||||||
;; Constants
|
;; Constants
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue