summaryrefslogtreecommitdiffstats
path: root/syntax/sass.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-04-15 01:05:44 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2014-04-15 01:05:44 +0200
commit610f4c570123510f2d6f4c5799d880d8581126cf (patch)
treea2bbc1de1fbdd22e2b2eb4d4d2447b3cc8467fba /syntax/sass.vim
parentf3833f5a39b91f1e42f12e45a2e61e351218c495 (diff)
downloadvim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.tar.gz
vim-polyglot-610f4c570123510f2d6f4c5799d880d8581126cf.zip
Update
Diffstat (limited to 'syntax/sass.vim')
-rw-r--r--syntax/sass.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/syntax/sass.vim b/syntax/sass.vim
index d8f6b781..e6037294 100644
--- a/syntax/sass.vim
+++ b/syntax/sass.vim
@@ -58,6 +58,7 @@ syn match sassAmpersand "&"
" TODO: Attribute namespaces
" TODO: Arithmetic (including strings and concatenation)
+syn region sassCharset start="@charset" end=";\|$" contains=scssComment,cssStringQ,cssStringQQ,cssURL,cssUnicodeEscape,cssMediaType
syn region sassInclude start="@import" end=";\|$" contains=scssComment,cssStringQ,cssStringQQ,cssURL,cssUnicodeEscape,cssMediaType
syn region sassDebugLine end=";\|$" matchgroup=sassDebug start="@debug\>" contains=@sassCssAttributes,sassVariable,sassFunction
syn region sassWarnLine end=";\|$" matchgroup=sassWarn start="@warn\>" contains=@sassCssAttributes,sassVariable,sassFunction
@@ -82,6 +83,7 @@ hi def link sassExtend PreProc
hi def link sassFunctionDecl PreProc
hi def link sassReturn PreProc
hi def link sassTodo Todo
+hi def link sassCharset PreProc
hi def link sassInclude Include
hi def link sassDebug sassControl
hi def link sassWarn sassControl