mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
fix(vim): fix highlight for pattern
Allow pattern to not contain pattern_multi node to be highlighted
This commit is contained in:
parent
c0783485e8
commit
af71c25edc
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue