fixes
This commit is contained in:
parent
889321c1bb
commit
ddf11cdb95
|
@ -1,11 +1,11 @@
|
||||||
syn keyword vueComponentTag contained template containedin=htmlSpecialTagName
|
syn keyword vueComponentTag contained template containedin=htmlSpecialTagName
|
||||||
|
|
||||||
syn match vueDirective "\(^\|\s\)[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueDirectiveValue
|
syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueDirectiveValue
|
||||||
syn match vueEvent "\(^\|\s\)[@][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueEventValue
|
syn match vueEvent "\(^\|\s\)\zs[@][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueEventValue
|
||||||
syn match vueConditional "\<v-else" containedin=htmlTag,htmlTagN
|
syn match vueConditional "\<v-else" containedin=htmlTag,htmlTagN
|
||||||
syn match vueConditional "\<v-if\|v-show" containedin=htmlTag,htmlTagN nextgroup=vueConditionalValue
|
syn match vueConditional "\<v-if\|\<v-show" containedin=htmlTag,htmlTagN nextgroup=vueConditionalValue
|
||||||
syn match vueFor "\<v-for" containedin=htmlTag,htmlTagN nextgroup=vueForValue
|
syn match vueFor "\<v-for" containedin=htmlTag,htmlTagN nextgroup=vueForValue
|
||||||
syn match vueRef "\(^\|\s\):\?ref" containedin=htmlTag,htmlTagN nextgroup=vueRefValue
|
syn match vueRef "\(^\|\s\)\zs:\?ref" containedin=htmlTag,htmlTagN nextgroup=vueRefValue
|
||||||
|
|
||||||
syn region vueDirectiveValue contained start=+="+hs=s+2 end=+"+he=e-1
|
syn region vueDirectiveValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||||
syn region vueDirectiveValue contained start=+='+hs=s+2 end=+'+he=e-1
|
syn region vueDirectiveValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||||
|
|
Loading…
Reference in New Issue