diff --git a/vim/colors/customred256.vim b/vim/colors/customred256.vim index ea364cb..fdb35db 100644 --- a/vim/colors/customred256.vim +++ b/vim/colors/customred256.vim @@ -256,11 +256,11 @@ hi! vueConditional ctermfg=202 hi! def link vueFor vueConditional hi! vueRef ctermfg=214 -hi! vueDirectiveValue ctermfg=201 -hi! vueEventValue ctermfg=201 -hi! vueConditionalValue ctermfg=201 -hi! vueForValue ctermfg=201 -hi! vueRefValue ctermfg=201 +hi! vueDirectiveValue ctermfg=52 +hi! def link vueEventValue vueDirectiveValue +hi! def link vueConditionalValue vueDirectiveValue +hi! def link vueForValue vueConditionalValue +hi! def link vueRefValue vueRef " json definitions hi! def link jsonKeyword Identifier diff --git a/vim/syntax/vue_custom.vim b/vim/syntax/vue_custom.vim index 3801dab..736b9b0 100644 --- a/vim/syntax/vue_custom.vim +++ b/vim/syntax/vue_custom.vim @@ -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"