mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-06 09:14:25 +08:00
Compare commits
5 Commits
006b94bb42
...
d671c5ac45
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d671c5ac45 | ||
|
|
c30ee7d885 | ||
|
|
541e5ae6d5 | ||
|
|
c9b3c2f1cc | ||
|
|
f65ff3f0a2 |
@@ -16,7 +16,7 @@ setlocal commentstring=//\ %s
|
|||||||
setlocal includeexpr=SassIncludeExpr(v:fname)
|
setlocal includeexpr=SassIncludeExpr(v:fname)
|
||||||
setlocal omnifunc=csscomplete#CompleteCSS
|
setlocal omnifunc=csscomplete#CompleteCSS
|
||||||
setlocal suffixesadd=.sass,.scss,.css
|
setlocal suffixesadd=.sass,.scss,.css
|
||||||
if &filetype =~# '\<s[ac]ss]\>'
|
if &filetype =~# '\<s[ac]ss\>'
|
||||||
setlocal iskeyword+=-
|
setlocal iskeyword+=-
|
||||||
setlocal iskeyword+=$
|
setlocal iskeyword+=$
|
||||||
setlocal iskeyword+=%
|
setlocal iskeyword+=%
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ syn match sassAmpersand "&"
|
|||||||
" TODO: Attribute namespaces
|
" TODO: Attribute namespaces
|
||||||
" TODO: Arithmetic (including strings and concatenation)
|
" TODO: Arithmetic (including strings and concatenation)
|
||||||
|
|
||||||
syn region sassMediaQuery matchgroup=sassMedia start="@media" end="[{};]\@=\|$" contains=sassMediaOperators
|
syn region sassMediaQuery matchgroup=sassMedia start="@media" end="[{};]\@=\|$" contains=sassMediaOperators,sassVariable,sassInterpolation,cssMediaProp,cssValueLength,cssAtRuleLogical,cssValueInteger,cssMediaAttr,cssVendor,cssMediaType,cssComment,cssCustomProp,cssFunctionName
|
||||||
syn region sassKeyframe matchgroup=cssAtKeyword start=/@\(-[a-z]\+-\)\=keyframes\>/ end=";\|$" contains=cssVendor,cssComment nextgroup=cssDefinition
|
syn region sassKeyframe matchgroup=cssAtKeyword start=/@\(-[a-z]\+-\)\=keyframes\>/ end=";\|$" contains=cssVendor,cssComment nextgroup=cssDefinition
|
||||||
syn keyword sassMediaOperators and not only contained
|
syn keyword sassMediaOperators and not only contained
|
||||||
syn region sassCharset start="@charset" end=";\|$" contains=scssComment,cssStringQ,cssStringQQ,cssURL,cssUnicodeEscape,cssMediaType
|
syn region sassCharset start="@charset" end=";\|$" contains=scssComment,cssStringQ,cssStringQQ,cssURL,cssUnicodeEscape,cssMediaType
|
||||||
|
|||||||
Reference in New Issue
Block a user