formatting
This commit is contained in:
parent
e9c6fbf27f
commit
f8cb6503af
|
@ -1,22 +1,22 @@
|
|||
syn keyword vueComponentTag contained template containedin=htmlSpecialTagName
|
||||
|
||||
syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueDirectiveValue
|
||||
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-if\|\<v-show" containedin=htmlTag,htmlTagN nextgroup=vueConditionalValue
|
||||
syn match vueFor "\<v-for" containedin=htmlTag,htmlTagN nextgroup=vueForValue
|
||||
syn match vueRef "\(^\|\s\)\zs:\?ref" containedin=htmlTag,htmlTagN nextgroup=vueRefValue
|
||||
syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueDirectiveValue
|
||||
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-if\|\<v-show" containedin=htmlTag,htmlTagN nextgroup=vueConditionalValue
|
||||
syn match vueFor "\<v-for" containedin=htmlTag,htmlTagN nextgroup=vueForValue
|
||||
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 vueEventValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueEventValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn region vueConditionalValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueConditionalValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn region vueForValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueForValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn match vueRefValue contained +="[-:.0-9_a-z]*"+hs=s+2,he=e-1
|
||||
syn match vueRefValue contained +='[-:.0-9_a-z]*'+hs=s+2,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 vueEventValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueEventValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn region vueConditionalValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueConditionalValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn region vueForValue contained start=+="+hs=s+2 end=+"+he=e-1
|
||||
syn region vueForValue contained start=+='+hs=s+2 end=+'+he=e-1
|
||||
syn match vueRefValue contained +="[-:.0-9_a-z]*"+hs=s+2,he=e-1
|
||||
syn match vueRefValue contained +='[-:.0-9_a-z]*'+hs=s+2,he=e-1
|
||||
|
||||
syn match vueComponentName contained "\(<\|</\)\zsvue-[0-9A-Za-z\-]\+\|\(<\|</\)\zs\u\+[0-9A-Za-z]\+\ze\(\s\|>\)" containedin=htmlTag,htmlTagN
|
||||
|
||||
|
@ -26,7 +26,7 @@ syn region vueTransitionName contained start=+\sname="+hs=s+7 end=+"+he=e-1 cont
|
|||
syn region vueTransitionMode contained start=+\smode="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,htmlTagN
|
||||
|
||||
syn keyword vueTagSpecial contained template script style containedin=htmlTagN
|
||||
syn keyword htmlArg contained scoped ts
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue