vue classes matching
This commit is contained in:
parent
f0a4f2addc
commit
ed69fd077e
|
@ -28,6 +28,12 @@ syn region vueTransitionMode contained start=+\smode="+hs=s+7 end=+"+he=e-1 cont
|
|||
syn keyword vueTagSpecial contained template script style containedin=htmlTag, htmlTagN
|
||||
syn keyword htmlArg contained scoped ts
|
||||
|
||||
syn region cssClassRegion contained start=+classes="+hs=s+9 end=+"+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend
|
||||
syn region cssClassRegion contained start=+classes='+hs=s+9 end=+'+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend
|
||||
" syn region cssClassRegion contained start=+classes="+hs=s+9 end=+"+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend
|
||||
" syn region cssClassRegion contained start=+classes='+hs=s+9 end=+'+he=e-1 contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend
|
||||
|
||||
syn match cssClassesAttr contained "\<[-a-zA-z0-9]*class[-a-zA-z0-9]*=" contains=htmlSpecialChar,cssClassAttr,cssAttrNoise,cssClassName containedin=htmlTag,htmlTagN keepend nextgroup=vueClassesName
|
||||
|
||||
syn region vueClassesName contained start=+"+hs=s+1 end=+"+he=e-1 containedin=htmlTag,htmlTagN
|
||||
|
||||
hi def link cssClassesAttr cssClassAttr
|
||||
hi def link vueClassesname cssClassName
|
||||
|
|
Loading…
Reference in New Issue