From af71c25edce0861589a51c630525bd0b06ba6a41 Mon Sep 17 00:00:00 2001 From: Pierrick Guillaume Date: Wed, 16 Feb 2022 23:25:46 +0100 Subject: fix(vim): fix highlight for pattern Allow pattern to not contain pattern_multi node to be highlighted --- queries/vim/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/vim/highlights.scm b/queries/vim/highlights.scm index a5667a0b6..64120e14a 100644 --- a/queries/vim/highlights.scm +++ b/queries/vim/highlights.scm @@ -142,8 +142,8 @@ (integer_literal) @number (float_literal) @float (comment) @comment -(pattern - (pattern_multi) @string.regex) @string.special +(pattern) @string.special +(pattern_multi) @string.regex (filename) @string ((scoped_identifier (scope) @_scope . (identifier) @boolean) -- cgit v1.2.3-70-g09d2