Highlight transition attributes as htmlArg

This commit is contained in:
leafOfTree
2020-12-14 19:29:47 +08:00
parent 2802a661bd
commit 1fefdc214c

View File

@@ -40,6 +40,9 @@ syntax region VueExpression
\ start="{{"
\ 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
syntax match VueAttr '\v(\S)@<!wx[^\=]+(\=\"[^"]*\")?'
\ containedin=htmlTag