mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-16 11:01:30 +08:00
chore: format code
This commit is contained in:
1 parent
6eded6268d
commit
b6cc427049
1 file changed
+6
-2
+6
-2
@@ -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
|
||||
Reference in new issue
Block a user