diff options
author | Dan Reif <dan.reif@collectivehealth.com> | 2018-04-30 12:00:42 -0700 |
---|---|---|
committer | Dan Reif <dan.reif@collectivehealth.com> | 2018-04-30 12:00:42 -0700 |
commit | 3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed (patch) | |
tree | ce76003a08274cb805df101a44be8d37af1a4c4b /syntax/vue.vim | |
parent | b4d7993e7ea554153025c5072749f415e69e0323 (diff) | |
download | vim-polyglot-3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed.tar.gz vim-polyglot-3e0c887365bc1ebd55b91dd69ab73f2dee1f00ed.zip |
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.
Diffstat (limited to 'syntax/vue.vim')
-rw-r--r-- | syntax/vue.vim | 4 |
1 files changed, 3 insertions, 1 deletions
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 |