mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
Follow changes in CR-css-variables-1-20151203
Forget to update syntax, see also: http://www.w3.org/TR/2015/CR-css-variables-1-20151203/
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
" TODO: create cssVariableProp group
|
||||
syn match cssFontProp contained "\<var-[A-Za-z_][A-Za-z0-9_-]\+\>"
|
||||
syn match cssFontProp contained "\<--[A-Za-z_][A-Za-z0-9_-]\+\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend
|
||||
|
||||
@@ -860,7 +860,7 @@
|
||||
}
|
||||
|
||||
.variables-1 {
|
||||
var-foo: var(foo);
|
||||
--var-foo: var(foo);
|
||||
}
|
||||
|
||||
@viewport {
|
||||
|
||||
Reference in New Issue
Block a user