From 09d82e6312e291c1683d4d3d52d695ab01d61b91 Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Tue, 13 Oct 2020 13:52:48 +0800 Subject: [PATCH] Avoid highlighting VueExpression in htmlComment --- syntax/vue-html.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/vue-html.vim b/syntax/vue-html.vim index d607ced..cfe630d 100644 --- a/syntax/vue-html.vim +++ b/syntax/vue-html.vim @@ -28,7 +28,7 @@ syntax region VueQuote contained syntax match VueInject contained '\v\$\w*' syntax region VueExpression - \ containedin=html.* + \ containedin=ALLBUT,htmlComment \ matchgroup=VueBrace \ transparent \ start="{{"