mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-16 11:01:30 +08:00
feat: support vue component name syntax
This commit is contained in:
1 parent
dc31774540
commit
c822a02305
1 file changed
+2
@@ -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