From 0b528ff0ea205280b126b45a43dd06ef1c960e6f Mon Sep 17 00:00:00 2001 From: Larry Wang Date: Sat, 17 Dec 2016 22:40:54 +0800 Subject: [PATCH] add ' ' support for pug, jade, stylus, scss, sass & less --- syntax/vue.vim | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/syntax/vue.vim b/syntax/vue.vim index a68ba22..20ebfc0 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -40,8 +40,8 @@ if s:syntaxes.pug if exists("b:current_syntax") unlet b:current_syntax endif - syntax region pug keepend start=/" contains=@PUG fold - syntax region pug keepend start=/" contains=@PUG fold + syntax region pug keepend start=/" contains=@PUG fold + syntax region pug keepend start=/" contains=@PUG fold endif syntax include @JS syntax/javascript.vim @@ -70,7 +70,7 @@ if s:syntaxes.stylus if exists("b:current_syntax") unlet b:current_syntax endif - syntax region stylus keepend start=/" contains=@stylus fold + syntax region stylus keepend start=/" contains=@stylus fold endif if s:syntaxes.sass @@ -78,7 +78,7 @@ if s:syntaxes.sass if exists("b:current_syntax") unlet b:current_syntax endif - syntax region sass keepend start=// end="" contains=@sass fold + syntax region sass keepend start=// end="" contains=@sass fold endif if s:syntaxes.scss @@ -86,7 +86,7 @@ if s:syntaxes.scss if exists("b:current_syntax") unlet b:current_syntax endif - syntax region scss keepend start=// end="" contains=@scss fold + syntax region scss keepend start=// end="" contains=@scss fold endif if s:syntaxes.less @@ -94,7 +94,7 @@ if s:syntaxes.less if exists("b:current_syntax") unlet b:current_syntax endif - syntax region less keepend matchgroup=PreProc start=// end="" contains=@less fold + syntax region less keepend matchgroup=PreProc start=// end="" contains=@less fold endif let b:current_syntax = "vue"