mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
feat: support custom tag syntax like view, text...
This commit is contained in:
@@ -29,6 +29,7 @@ syntax match VueAttr '\v(\S)@<!wx[^\=]+(\=\"[^"]*\")?'
|
||||
\ contains=VueKey,VueValue,VueInject
|
||||
|
||||
syntax match VueKey contained '\vwx[^\=]+'
|
||||
syntax match CustomTag containedin=htmlTagN '\v<(view|text|block|image)>'
|
||||
|
||||
highlight default link VueAttr Comment
|
||||
highlight default link VueKey Type
|
||||
@@ -36,3 +37,4 @@ highlight default link VueValue Comment
|
||||
highlight default link VueInject Constant
|
||||
highlight default link VueBrace Type
|
||||
highlight default link VueComponentName Statement
|
||||
highlight default link CustomTag Statement
|
||||
|
||||
Reference in New Issue
Block a user