mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 03:04:26 +08:00
add css-variables.vim
This commit is contained in:
3
after/syntax/css/css-variables.vim
Normal file
3
after/syntax/css/css-variables.vim
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
" TODO: create cssVariableProp group
|
||||||
|
syn match cssFontProp contained "\<var-[A-Za-z_][A-Za-z0-9_-]\+\>"
|
||||||
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<var\s*(" end=")" oneline keepend
|
||||||
@@ -475,6 +475,10 @@
|
|||||||
display: initial;
|
display: initial;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.variables {
|
||||||
|
var-foo: var(foo);
|
||||||
|
}
|
||||||
|
|
||||||
.writing-modes {
|
.writing-modes {
|
||||||
text-orientation: before;
|
text-orientation: before;
|
||||||
text-combine-horizontal: after;
|
text-combine-horizontal: after;
|
||||||
|
|||||||
Reference in New Issue
Block a user