diff --git a/syntax/vue.vim b/syntax/vue.vim index 241e25b..069599a 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -30,52 +30,70 @@ endif syntax include @HTML syntax/html.vim -unlet b:current_syntax +if exists("b:current_syntax") + unlet b:current_syntax +endif syntax region template keepend start=/^