mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2026-03-05 21:14:17 +08:00
follow WD-css3-images-20120112
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
" TODO: create cssImagesProp group and cssImagesAttr group
|
" TODO: create cssImagesProp group and cssImagesAttr group
|
||||||
syn match cssFontProp contained "\<object-fit\>"
|
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
||||||
syn keyword cssFontAttr contained contain cover
|
syn match cssFontProp contained "\<image-\(resolution\|orientation\)\>"
|
||||||
|
syn keyword cssFontAttr contained contain cover snap
|
||||||
syn match cssFontAttr contained "\<scale-down\>"
|
syn match cssFontAttr contained "\<scale-down\>"
|
||||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\|cross-fade\|\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|element\|\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|
||||||
|
|||||||
Reference in New Issue
Block a user