fix(vim): fix highlight for pattern

Allow pattern to not contain pattern_multi node to be highlighted
This commit is contained in:
Pierrick Guillaume 2022-02-16 23:25:46 +01:00 committed by Stephan Seitz
parent c0783485e8
commit af71c25edc

View file

@ -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)