mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Bash: fix hl capture groups
Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
This commit is contained in:
parent
da6bc7be20
commit
fe06e6fbec
1 changed files with 6 additions and 4 deletions
|
|
@ -13,6 +13,10 @@
|
|||
(heredoc_start)
|
||||
] @punctuation.delimiter
|
||||
|
||||
[
|
||||
"$"
|
||||
] @punctuation.special
|
||||
|
||||
[
|
||||
">"
|
||||
"<"
|
||||
|
|
@ -31,6 +35,8 @@
|
|||
(heredoc_body)
|
||||
] @string
|
||||
|
||||
(variable_assignment (word) @string)
|
||||
|
||||
[
|
||||
"if"
|
||||
"then"
|
||||
|
|
@ -95,9 +101,6 @@
|
|||
descriptor: (file_descriptor) @operator
|
||||
destination: (word) @parameter)
|
||||
|
||||
|
||||
("$" (variable_name)) @variable
|
||||
|
||||
(expansion
|
||||
[ "${" "}" ] @punctuation.bracket)
|
||||
|
||||
|
|
@ -107,4 +110,3 @@
|
|||
value: (word) @parameter)
|
||||
|
||||
(concatenation (word) @parameter)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue