fixup! 'main': Highlight array parameters in command position.

This commit is contained in:
Daniel Shahaf 2018-01-13 14:02:35 +00:00
parent 2580a8bd8b
commit aa3637c9f7

View File

@ -514,7 +514,7 @@ _zsh_highlight_highlighter_main_paint()
# Set $arg.
case ${(tP)MATCH} in
(*array*|*assoc*)
local -a words=( ${(P)MATCH} )
local -a words; words=( ${(P)MATCH} )
arg=${words[1]}
;;
(*)