]> git.eshelyaron.com Git - emacs.git/commit
Highlight two additional SCSS keywords
authorSimen Heggestøyl <simenheg@gmail.com>
Mon, 1 Feb 2016 20:38:25 +0000 (21:38 +0100)
committerSimen Heggestøyl <simenheg@gmail.com>
Mon, 1 Feb 2016 20:38:25 +0000 (21:38 +0100)
commit1d07dcd720890764774770e0ad24ba11a5bda233
tree4a72b7ed09878ea11b9a012044c60c6d6fe0a4f9
parentee8b46699523cc1dea7b3d03e3cccff3d62cd847
Highlight two additional SCSS keywords

* lisp/textmodes/css-mode.el (css-bang-ids): New defconst holding CSS
identifiers on the form !foo.
(scss-bang-ids): New defconst holding SCSS identifiers on the form
!foo.
(css--font-lock-keywords): Highlight the new SCSS bang identifiers in
`font-lock-builtin-face'.

* test/indent/css-mode.css: Add bang rule test case.

* test/indent/scss-mode.css: Add test cases for the introduced bang
rules.
lisp/textmodes/css-mode.el
test/indent/css-mode.css
test/indent/scss-mode.scss