mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-08 21:54:46 +08:00
feat: support vue component name syntax
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
syntax match VueComponentName containedin=htmlTagN '\v<[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+>'
|
||||
syntax match VueAttr '\v(\S)@<![v:\@][^\=]+(\=\"[^"]*\")?'
|
||||
\ containedin=htmlTag
|
||||
\ contains=VueKey,VueValue,VueInject
|
||||
@@ -30,3 +31,4 @@ highlight link VueAttr Comment
|
||||
highlight link VueKey PreProc
|
||||
highlight link VueInject Constant
|
||||
highlight link VueBrace PreProc
|
||||
highlight link VueComponentName Statement
|
||||
|
||||
Reference in New Issue
Block a user