mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
noop: Clarify comment.
This commit is contained in:
parent
2339ee33b9
commit
5720d87052
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ _zsh_highlight_main_highlighter_highlight_list()
|
||||||
# Analyse the current word.
|
# Analyse the current word.
|
||||||
if _zsh_highlight_main__is_redirection $arg ; then
|
if _zsh_highlight_main__is_redirection $arg ; then
|
||||||
if (( in_redirection == 1 )); then
|
if (( in_redirection == 1 )); then
|
||||||
# The condition excludes the case that BUFFER='{foo}>&2' and we're on the '>&'.
|
# Two consecuive redirection operators is an error.
|
||||||
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
|
_zsh_highlight_main_add_region_highlight $start_pos $end_pos unknown-token
|
||||||
else
|
else
|
||||||
in_redirection=2
|
in_redirection=2
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue