From e3257e5110c3333f5bb0234c09556cd9f8412129 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Wed, 14 Mar 2018 17:49:38 +0000 Subject: [PATCH] v-if, v-else, v-for word boundaries --- vim/after/syntax/vue.vim | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 vim/after/syntax/vue.vim diff --git a/vim/after/syntax/vue.vim b/vim/after/syntax/vue.vim new file mode 100644 index 0000000..ae761f3 --- /dev/null +++ b/vim/after/syntax/vue.vim @@ -0,0 +1,14 @@ +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 vueConditional "\