'main': Fix state check.
At this time, no user-visible consequences are known.
This commit is contained in:
parent
ea5186543d
commit
17fbcad8ac
@ -406,8 +406,8 @@ _zsh_highlight_main_highlighter()
|
|||||||
next_word=':start:'
|
next_word=':start:'
|
||||||
highlight_glob=true
|
highlight_glob=true
|
||||||
elif
|
elif
|
||||||
[[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW:#"$arg"} && $this_word == *':start:' ]] ||
|
[[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_CONTROL_FLOW:#"$arg"} && $this_word == *':start:'* ]] ||
|
||||||
[[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS:#"$arg"} && $this_word == *':start:' ]]; then
|
[[ -n ${(M)ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS:#"$arg"} && $this_word == *':start:'* ]]; then
|
||||||
next_word=':start:'
|
next_word=':start:'
|
||||||
elif [[ $arg == "repeat" && $this_word == *':start:'* ]]; then
|
elif [[ $arg == "repeat" && $this_word == *':start:'* ]]; then
|
||||||
# skip the repeat-count word
|
# skip the repeat-count word
|
||||||
|
Loading…
x
Reference in New Issue
Block a user