We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2339ee3 commit 5720d87Copy full SHA for 5720d87
highlighters/main/main-highlighter.zsh
@@ -646,7 +646,7 @@ _zsh_highlight_main_highlighter_highlight_list()
646
# Analyse the current word.
647
if _zsh_highlight_main__is_redirection $arg ; then
648
if (( in_redirection == 1 )); then
649
- # The condition excludes the case that BUFFER='{foo}>&2' and we're on the '>&'.
+ # Two consecuive redirection operators is an error.
650
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
651
else
652
in_redirection=2
0 commit comments