chore: format code

This commit is contained in:
yemai
2019-06-18 10:19:43 +08:00
parent 6eded6268d
commit b6cc427049

View File

@@ -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)@<!wx[^\=]+(\=\"[^"]*\")?'
syntax match VueKey contained '\vwx[^\=]+'
syntax match VueCustomTag containedin=htmlTagN '\v<(view|text|block|image)>'
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