mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
chore: format code
This commit is contained in:
@@ -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