mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 09:50:04 -04:00
feat(highlights): capture wildcard patterns as @character.special (#7153)
This commit is contained in:
parent
2b2ac30232
commit
188b1a6d01
13 changed files with 45 additions and 21 deletions
|
|
@ -67,7 +67,7 @@
|
|||
(lower_case_identifier) @variable)
|
||||
|
||||
(anything_pattern
|
||||
(underscore) @variable)
|
||||
(underscore) @character.special)
|
||||
|
||||
(record_base_identifier
|
||||
(lower_case_identifier) @variable)
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
|
||||
(function_declaration_left
|
||||
(anything_pattern
|
||||
(underscore) @variable.parameter))
|
||||
(underscore) @character.special))
|
||||
|
||||
(function_declaration_left
|
||||
(lower_pattern
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue