mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2026-10-15 10:32:43 +08:00
feat: highlight PascalCase component name
This commit is contained in:
1 parent
302a5e55ec
commit
6eded6268d
1 file changed
+2
@@ -1,4 +1,6 @@
|
||||
syntax match VueComponentName containedin=htmlTagN '\v<[a-zA-Z0-9]+(-[a-zA-Z0-9]+)+>'
|
||||
syntax match VueComponentName containedin=htmlTagN '\v<([A-Z][a-zA-Z0-9]+)+>'
|
||||
|
||||
syntax match VueAttr '\v(\S)@<![v:\@][^\=]*(\=\"[^"]*\")?'
|
||||
\ containedin=htmlTag
|
||||
\ contains=VueKey,VueValue
|
||||
|
||||
Reference in new issue
Block a user