From b6cc42704995cb0ec2ad69bd880cfb17a7529382 Mon Sep 17 00:00:00 2001 From: yemai Date: Tue, 18 Jun 2019 10:19:43 +0800 Subject: [PATCH] chore: format code --- syntax/vue-html.vim | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/syntax/vue-html.vim b/syntax/vue-html.vim index d5e7f7e..b1a7079 100644 --- a/syntax/vue-html.vim +++ b/syntax/vue-html.vim @@ -17,7 +17,6 @@ syntax region VueExpression \ transparent \ start="{{" \ end="}}" - syntax region VueExpression \ containedin=vueTemplate,VueValue,htmlString,htmlValue \ contains=@jsAll @@ -33,10 +32,15 @@ syntax match VueAttr '\v(\S)@' +syn region javaScriptStringS start=+'+ skip=+\\\\\|\\'+ end=+'\|$+ contains=javaScriptSpecial,@htmlPreproc +syn keyword javaScriptRepeat while for do in + highlight default link VueAttr Comment highlight default link VueKey Type -highlight default link VueValue Comment +highlight default link VueValue Function highlight default link VueInject Constant highlight default link VueBrace Type highlight default link VueComponentName Statement highlight default link VueCustomTag Statement +highlight default link javaScriptRepeat Statement +highlight default link javaScriptStringS String