Skip to content

Commit 6194518

Browse files
committed
'main': Document what $in_redirection is currently used for.
1 parent 936bc25 commit 6194518

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,13 @@ _zsh_highlight_main_highlighter_highlight_list()
488488
# $in_redirection. The value of $next_word from the iteration that processed
489489
# the operator is discarded.
490490
#
491+
# $in_redirection is currently used for:
492+
# - comments
493+
# - aliases
494+
# - redirections
495+
# - parameter elision in command position
496+
# - 'repeat' loops
497+
#
491498
local this_word next_word=':start::start_of_pipeline:'
492499
integer in_redirection
493500
# Processing buffer

0 commit comments

Comments
 (0)