mirror of
https://github.com/hail2u/vim-css3-syntax.git
synced 2025-12-06 18:54:25 +08:00
Follow WD-css-shapes-1-20131203
This commit is contained in:
5
after/syntax/css/css-shapes-1.vim
Normal file
5
after/syntax/css/css-shapes-1.vim
Normal file
@@ -0,0 +1,5 @@
|
||||
if !hlexists('cssShapesProp')
|
||||
syn match cssFontProp contained "\<shape-\(outside\|image-threshold\|margin\)\>"
|
||||
syn match cssFontAttr contained "\<margin-box\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(inset\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
|
||||
endif
|
||||
@@ -1,3 +0,0 @@
|
||||
" TODO: create cssShapesProp group
|
||||
syn match cssFontProp contained "\<shape-\(image-threshold\|inside\|outside\)\>"
|
||||
syn region cssFunction contained matchgroup=cssFunctionName start="\<\(\(inset-\)\=rectangle\|circle\|ellipse\|polygon\)\s*(" end=")" oneline keepend
|
||||
@@ -35,7 +35,7 @@ syn include @htmlCss syntax/css/css3-ui.vim
|
||||
syn include @htmlCss syntax/css/css3-values.vim
|
||||
syn include @htmlCss syntax/css/css-masking-1.vim
|
||||
syn include @htmlCss syntax/css/css-overflow-3.vim
|
||||
syn include @htmlCss syntax/css/css-shapes.vim
|
||||
syn include @htmlCss syntax/css/css-shapes-1.vim
|
||||
syn include @htmlCss syntax/css/css-text-3.vim
|
||||
syn include @htmlCss syntax/css/css-text-decor-3.vim
|
||||
syn include @htmlCss syntax/css/css-variables.vim
|
||||
|
||||
Reference in New Issue
Block a user