mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -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
|
|
@ -32,6 +32,9 @@
|
|||
|
||||
(value_pattern) @variable.parameter
|
||||
|
||||
((value_pattern) @character.special
|
||||
(#eq? @character.special "_"))
|
||||
|
||||
; Functions
|
||||
;----------
|
||||
(let_binding
|
||||
|
|
@ -272,6 +275,9 @@
|
|||
".."
|
||||
] @punctuation.delimiter
|
||||
|
||||
(range_pattern
|
||||
".." @character.special)
|
||||
|
||||
; Operators
|
||||
;----------
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue