mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Change captures:
- Disable highlight for `variable_ref`
- Capture `ENV` and `CACHE` as `@symbol`
- Capture '$', '{', '}', '(', ')' as punctuation
This commit is contained in:
parent
c214c7c563
commit
a8a7200241
1 changed files with 5 additions and 6 deletions
|
|
@ -3,20 +3,19 @@
|
|||
(bracket_argument)
|
||||
] @string
|
||||
|
||||
(variable_ref) @variable
|
||||
(variable_ref) @none
|
||||
|
||||
[
|
||||
(bracket_comment)
|
||||
(line_comment)
|
||||
] @comment
|
||||
|
||||
[
|
||||
"$ENV"
|
||||
"$CACHE"
|
||||
] @variable.builtin
|
||||
|
||||
(normal_command (identifier) @function)
|
||||
|
||||
["ENV" "CACHE"] @symbol
|
||||
["$" "{" "}"] @punctuation.special
|
||||
["(" ")"] @punctuation.bracket
|
||||
|
||||
[
|
||||
(function)
|
||||
(endfunction)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue