Bash: fix hl capture groups

Fixes https://github.com/nvim-treesitter/nvim-treesitter/issues/387
This commit is contained in:
Santos Gallegos 2020-09-06 12:31:40 -05:00 committed by Stephan Seitz
parent da6bc7be20
commit fe06e6fbec

View file

@ -13,6 +13,10 @@
(heredoc_start) (heredoc_start)
] @punctuation.delimiter ] @punctuation.delimiter
[
"$"
] @punctuation.special
[ [
">" ">"
"<" "<"
@ -31,6 +35,8 @@
(heredoc_body) (heredoc_body)
] @string ] @string
(variable_assignment (word) @string)
[ [
"if" "if"
"then" "then"
@ -95,9 +101,6 @@
descriptor: (file_descriptor) @operator descriptor: (file_descriptor) @operator
destination: (word) @parameter) destination: (word) @parameter)
("$" (variable_name)) @variable
(expansion (expansion
[ "${" "}" ] @punctuation.bracket) [ "${" "}" ] @punctuation.bracket)
@ -107,4 +110,3 @@
value: (word) @parameter) value: (word) @parameter)
(concatenation (word) @parameter) (concatenation (word) @parameter)