From fc9c24660273c31aa9979810a788cc1a07bb9284 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Thu, 1 Nov 2018 21:06:52 +0000 Subject: [PATCH] v-else-if --- vim/after/syntax/vue.vim | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/vim/after/syntax/vue.vim b/vim/after/syntax/vue.vim index 97f7db9..f5af28f 100644 --- a/vim/after/syntax/vue.vim +++ b/vim/after/syntax/vue.vim @@ -5,8 +5,9 @@ syn keyword vueComponentTag contained template containedin=htmlSpecialTagNam syn match vueDirective "\(^\|\s\)\zs[v:][-:.0-9_a-z]*" containedin=htmlTag,vueTag,htmlTagN contains=vueDirectiveClass nextgroup=vueDirectiveValue syn match vueEvent "\(^\|\s\)\zs[@][-:.0-9_a-z]*" containedin=htmlTag,vueTag,htmlTagN nextgroup=vueEventValue syn match vueConditional "\\)" containedin=htmlTag,vueTag,htmlTagN syn region vueLink start="[^>]*" end=""me=e-14 contains=@Spell,vueTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLeadingSpace,javaScript,@htmlPreproc,vueComponentName @@ -37,15 +38,10 @@ syn match vueComponentName contained "router-link" containedin=vueTag,htmlEndTag hi! def link vueLink htmlLink syn match vueDynamicComponent contained "\\|\\|\" containedin=htmlTag,vueTag,htmlTagN - syn match vueTransitionComponent contained "\" containedin=htmlTag,vueTag,htmlTagN nextgroup=vueTransitionName,vueTransitionMode syn region vueTransitionName contained start=+\sname="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,vueTag,htmlTagN syn region vueTransitionMode contained start=+\smode="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,vueTag,htmlTagN -syn region vueSlotTag start="[^>]*" end=""me=e-14 contains=@Spell,vueTag,htmlEndTag,htmlSpecialChar,htmlPreProc,htmlComment,htmlLeadingSpace,javaScript,@htmlPreproc,vueSlotTagName -syn match vueSlotTagName contained "slot" containedin=vueTag,htmlEndTag nextgroup=vueSlotName -syn region vueSlotName contained start=+\sname="+hs=s+7 end=+"+he=e-1 containedin=htmlTag,vueTag,htmlTagN - syn keyword vueTagSpecial contained template script style containedin=htmlTagN syn keyword htmlArg contained scoped ts