Change captures:

- Disable highlight for `variable_ref`
- Capture `ENV` and `CACHE` as `@symbol`
- Capture '$', '{', '}', '(', ')' as punctuation
This commit is contained in:
Uy Ha 2021-06-30 21:03:17 +02:00 committed by Stephan Seitz
parent c214c7c563
commit a8a7200241

View file

@ -3,20 +3,19 @@
(bracket_argument) (bracket_argument)
] @string ] @string
(variable_ref) @variable (variable_ref) @none
[ [
(bracket_comment) (bracket_comment)
(line_comment) (line_comment)
] @comment ] @comment
[
"$ENV"
"$CACHE"
] @variable.builtin
(normal_command (identifier) @function) (normal_command (identifier) @function)
["ENV" "CACHE"] @symbol
["$" "{" "}"] @punctuation.special
["(" ")"] @punctuation.bracket
[ [
(function) (function)
(endfunction) (endfunction)