Update code comments

This commit is contained in:
leafOfTree
2020-12-31 16:21:22 +08:00
parent 017a4002a8
commit d975ab169d

View File

@@ -11,7 +11,8 @@ let s:highlight_vue_attr = vue#GetConfig("highlight_vue_attr", 0)
" Syntax highlight {{{
"
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" Use syn-match to highlight both transition and transition-group
" Use syn-match in order to highlight both transition and transition-group
" according to syn-priority
syntax match VueComponentName containedin=htmlTagN '\v(component|slot|transition)'
syntax match VueComponentName containedin=htmlTagN '\v\C<[a-z0-9]+(-[a-z0-9]+)+>'
syntax match VueComponentName containedin=htmlTagN '\v\C<([A-Z][a-zA-Z0-9]+)+>'