From 3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed Mon Sep 17 00:00:00 2001 From: Dan Reif Date: Mon, 30 Apr 2018 12:00:42 -0700 Subject: Update (periodic rebuild) I originally meant to run this before adding haproxy, but accidentally pushed that into my branch. If you'd like to see that content, it's at https://github.com/CH-DanReif/vim-polyglot/commit/414ad25c3ad1ab9c4b6a99fe4f08d6c30b7e0f57. --- syntax/vue.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'syntax/vue.vim') diff --git a/syntax/vue.vim b/syntax/vue.vim index 8af0a5b9..7dfefdb2 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -9,6 +9,8 @@ if exists("b:current_syntax") endif runtime! syntax/html.vim +syntax clear htmlTagName +syntax match htmlTagName contained "\<[a-zA-Z0-9:-]*\>" unlet! b:current_syntax "" @@ -43,6 +45,7 @@ function! s:register_language(language, tag, ...) endfunction if !exists("g:vue_disable_pre_processors") || !g:vue_disable_pre_processors + call s:register_language('less', 'style') call s:register_language('pug', 'template', s:attr('lang', '\%(pug\|jade\)')) call s:register_language('slm', 'template') call s:register_language('handlebars', 'template') @@ -52,7 +55,6 @@ if !exists("g:vue_disable_pre_processors") || !g:vue_disable_pre_processors call s:register_language('stylus', 'style') call s:register_language('sass', 'style') call s:register_language('scss', 'style') - call s:register_language('less', 'style') endif syn region vueSurroundingTag contained start=+<\(script\|style\|template\)+ end=+>+ fold contains=htmlTagN,htmlString,htmlArg,htmlValue,htmlTagError,htmlEvent -- cgit v1.2.3