diff --git a/vim/after/syntax/vue.vim b/vim/after/syntax/vue.vim index 04b754b..d3c9603 100644 --- a/vim/after/syntax/vue.vim +++ b/vim/after/syntax/vue.vim @@ -2,13 +2,15 @@ runtime! after/syntax/html.vim syn keyword vueComponentTag contained template containedin=htmlSpecialTagName -syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueDirectiveValue +syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN contains=vueDirectiveClassValue nextgroup=vueDirectiveValue syn match vueEvent "\(^\|\s\)\zs[@][-:.0-9_a-z]*" containedin=htmlTag,htmlTagN nextgroup=vueEventValue syn match vueConditional "\