feat(bash): align substitutions with expansions

The bash manual[1] considers command and process substitutions to be
forms of expansions, so they should be highlighted the same as other
expansions. This is traditionally how they have been highlighted in the
past too.

[1] https://www.gnu.org/software/bash/manual/html_node/Shell-Expansions.html
This commit is contained in:
michaelPotter 2024-03-24 08:31:35 -07:00 committed by Amaan Qureshi
parent 5e4f959d59
commit aa6323e834

View file

@ -124,10 +124,15 @@
(test_operator) @operator
(command_substitution
"$(" @punctuation.bracket)
"$(" @punctuation.special
")" @punctuation.special)
(process_substitution
"<(" @punctuation.bracket)
[
"<("
">("
] @punctuation.special
")" @punctuation.special)
(arithmetic_expansion
[