mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
main: Fix highlighting of the ! precommand after array assignments. Add tests.
This commit is contained in:
parent
298ef6a2fa
commit
6cf522b7b3
3 changed files with 79 additions and 1 deletions
|
|
@ -841,7 +841,7 @@ _zsh_highlight_main_highlighter_highlight_list()
|
|||
if $in_array_assignment; then
|
||||
style=assign
|
||||
in_array_assignment=false
|
||||
next_word+=':start::start_of_pipeline:'
|
||||
next_word+=':start:'
|
||||
elif (( in_redirection )); then
|
||||
style=unknown-token
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue