mirror of
https://github.com/leafOfTree/vim-vue-plugin.git
synced 2025-12-10 22:51:52 +08:00
Highlight transition attributes as htmlArg
This commit is contained in:
@@ -40,6 +40,9 @@ syntax region VueExpression
|
|||||||
\ start="{{"
|
\ start="{{"
|
||||||
\ end="}}"
|
\ end="}}"
|
||||||
|
|
||||||
|
" Transition attributes
|
||||||
|
syntax match htmlArg contained "\<\(enter-from-class\|enter-active-class\|enter-to-class\|leave-from-class\|leave-active-class\|leave-to-class\)\>"
|
||||||
|
|
||||||
" Wepy directive syntax
|
" Wepy directive syntax
|
||||||
syntax match VueAttr '\v(\S)@<!wx[^\=]+(\=\"[^"]*\")?'
|
syntax match VueAttr '\v(\S)@<!wx[^\=]+(\=\"[^"]*\")?'
|
||||||
\ containedin=htmlTag
|
\ containedin=htmlTag
|
||||||
|
|||||||
Reference in New Issue
Block a user