mirror of
https://github.com/tpope/vim-haml.git
synced 2026-10-18 03:51:29 +08:00
Highlight @else and @else if
This commit is contained in:
1 parent
bd62a5eda0
commit
db054e782e
1 file changed
+1
-1
+1
-1
@@ -32,7 +32,7 @@ syn match sassAmpersand "&"
|
|||||||
" TODO: Arithmetic (including strings and concatenation)
|
" TODO: Arithmetic (including strings and concatenation)
|
||||||
|
|
||||||
syn region sassInclude start="@import" end=";\|$" contains=cssComment,cssURL,cssUnicodeEscape,cssMediaType
|
syn region sassInclude start="@import" end=";\|$" contains=cssComment,cssURL,cssUnicodeEscape,cssMediaType
|
||||||
syn region sassControlLine matchgroup=sassControl start="@\%(if\|while\|for\)\>" end="$" contains=sassFor,@sassCssAttributes,sassConstant
|
syn region sassControlLine matchgroup=sassControl start="@\%(if\|else\%(\s\+if\)\=\|while\|for\)\>" end="$" contains=sassFor,@sassCssAttributes,sassConstant
|
||||||
syn keyword sassFor from to through contained
|
syn keyword sassFor from to through contained
|
||||||
|
|
||||||
syn keyword sassTodo FIXME NOTE TODO OPTIMIZE XXX contained
|
syn keyword sassTodo FIXME NOTE TODO OPTIMIZE XXX contained
|
||||||
|
|||||||
Reference in new issue
Block a user