mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-07 19:24:25 +08:00
add support for CSS3 Backgrounds and Borders
This commit is contained in:
5
after/syntax/css/css3-background.vim
Normal file
5
after/syntax/css/css3-background.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
" TODO: create cssBackgroundProp group and cssBackgroundAttr group
|
||||
syn match cssFontProp contained "\<background-\(origin\|clip\|size\)\>"
|
||||
syn match cssFontProp contained "\<border-\(color\|image\(-\(source\|slice\|width\|outset\|repeat\)\)\=\|radius\)\>"
|
||||
syn match cssFontProp contained "\<box-\(decoration-break\|shadow\)\>"
|
||||
syn keyword cssFontAttr contained stretch round fill alice clone
|
||||
@@ -1,8 +1,3 @@
|
||||
syn match cssBoxProp contained "\<border-\(color\|image\|radius\)\>"
|
||||
syn match cssBoxProp contained "\<box-shadow\>"
|
||||
|
||||
syn match cssColorProp contained "\<background-\(origin\|clip\|size\)\>"
|
||||
|
||||
syn match cssTextProp contained "\<text-\(shadow\|overflow\)\>"
|
||||
syn match cssTextProp contained "\<word-wrap\>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user