From 1fefdc214c5088b0e3a3db346c6fc8010cb5c70a Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Mon, 14 Dec 2020 19:29:47 +0800 Subject: [PATCH] Highlight transition attributes as htmlArg --- syntax/vue-html.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/syntax/vue-html.vim b/syntax/vue-html.vim index cfe630d..af7d336 100644 --- a/syntax/vue-html.vim +++ b/syntax/vue-html.vim @@ -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)@