diff --git a/vim/after/syntax/vue.vim b/vim/after/syntax/vue.vim index ba6b82e..3091f7f 100644 --- a/vim/after/syntax/vue.vim +++ b/vim/after/syntax/vue.vim @@ -1,11 +1,11 @@ syn keyword vueComponentTag contained template containedin=htmlSpecialTagName -syn match vueDirective "\(^\|\s\)[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 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 "\