extend highlight groups

Pick up
(array_at)
(array_star)
(expansion_flags)
(expansion_modifiers)
(simple_variable_name)
(glob_pattern)
(expansion_style) - and therefore hash in ${#variable}
This commit is contained in:
George Harker 2025-11-05 14:32:26 -08:00
parent 835a59f518
commit 2071318626
2 changed files with 30 additions and 13 deletions

View file

@ -248,18 +248,18 @@ cat <<< "string"
# Special variables
echo $0 $1 $@ $* $# $?
#^^^ @function.call @function.builtin @number
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @constant
# ^ @constant
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# ^^ @punctuation.special @none @variable.builtin
# ^ @variable.builtin
# NOTE: $$ is not captured by current query/grammar
# Conditional operators