mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Emacs] Highlight Sass color constants.
This commit is contained in:
parent
e89369c432
commit
ce7fa72523
1 changed files with 5 additions and 1 deletions
|
@ -62,7 +62,11 @@ text nested beneath them.")
|
|||
`(("\"\\([^\"\\\\]\\|\\\\.\\)*\"" 0 font-lock-string-face)
|
||||
("!\\w+" 0 font-lock-variable-name-face)
|
||||
("#[0-9a-fA-F]\\{0,6\\}" 0 font-lock-preprocessor-face)
|
||||
(,(regexp-opt '("true" "false")) 0 font-lock-constant-face)
|
||||
(,(regexp-opt
|
||||
'("true" "false" "black" "silver" "gray" "white" "maroon" "red"
|
||||
"purple" "fuchsia" "green" "lime" "olive" "yellow" "navy"
|
||||
"blue" "teal" "aqua"))
|
||||
0 font-lock-constant-face)
|
||||
(,(regexp-opt '("and" "or" "not")) 0 font-lock-keyword-face)))
|
||||
|
||||
(defconst sass-syntax-table
|
||||
|
|
Loading…
Add table
Reference in a new issue