mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
fixup! 'main': Highlight array parameters in command position.
This commit is contained in:
parent
2580a8bd8b
commit
aa3637c9f7
1 changed files with 1 additions and 1 deletions
|
|
@ -514,7 +514,7 @@ _zsh_highlight_highlighter_main_paint()
|
||||||
# Set $arg.
|
# Set $arg.
|
||||||
case ${(tP)MATCH} in
|
case ${(tP)MATCH} in
|
||||||
(*array*|*assoc*)
|
(*array*|*assoc*)
|
||||||
local -a words=( ${(P)MATCH} )
|
local -a words; words=( ${(P)MATCH} )
|
||||||
arg=${words[1]}
|
arg=${words[1]}
|
||||||
;;
|
;;
|
||||||
(*)
|
(*)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue