mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
8 lines
498 B
VimL
8 lines
498 B
VimL
" TODO: create cssImagesProp group and cssImagesAttr group
|
|
syn match cssFontProp contained "\<object-\(fit\|position\)\>"
|
|
syn match cssFontProp contained "\<image-\(resolution\|orientation\)\>"
|
|
syn keyword cssFontAttr contained contain cover snap
|
|
syn match cssFontAttr contained "\<from-image\>"
|
|
syn match cssFontAttr contained "\<scale-down\>"
|
|
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(image\|\(repeating-\)\=\(linear\|radial\)-gradient\)\s*(" end=")" oneline keepend
|