vue syntax highlighting colours

This commit is contained in:
ManjaroOne666 2018-02-01 21:14:27 +00:00
commit 4d6b2c9680
2 changed files with 6 additions and 7 deletions

View file

@ -57,7 +57,6 @@ syn region vueSurroundingTag contained start=+<\(script\|style\|template\)+ e
syn keyword htmlSpecialTagName contained template
syn keyword htmlArg contained scoped ts
syn match vueDirective "[v:][-:.0-9_a-z]*" containedin=htmlTag nextgroup=vueDirectiveValue
syn match vueEvent "[@][-:.0-9_a-z]*" containedin=htmlTag nextgroup=vueEventValue
syn match vueConditional "v-else" containedin=htmlTag
@ -69,6 +68,6 @@ 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 vueConditionalValue contained start=+="+hs=s+2 end=+"+he=e-1
syn region vueForValue contained start=+="+hs=s+2 end=+"+he=e-1
syn region vueRefValue contained start=+="+hs=s+2 end=+"+he=e-1
syn match vueRefValue contained +="[-:.0-9_a-z]*"+hs=s+2,he=e-1
let b:current_syntax = "vue"