Revert version checking code

Checking version with `hlexists()` does not work as expected.
This commit is contained in:
Kyo Nagashima
2014-03-03 03:38:57 +09:00
parent 9b9dfb7f3b
commit 04fbdcfd54
7 changed files with 33 additions and 38 deletions

View File

@@ -1,5 +1,4 @@
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
" TODO: create cssShapesProp group and cssShapesAttr group
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