mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
'main': Document what $in_redirection is currently used for.
This commit is contained in:
parent
936bc251a8
commit
61945185ff
1 changed files with 7 additions and 0 deletions
|
|
@ -488,6 +488,13 @@ _zsh_highlight_main_highlighter_highlight_list()
|
||||||
# $in_redirection. The value of $next_word from the iteration that processed
|
# $in_redirection. The value of $next_word from the iteration that processed
|
||||||
# the operator is discarded.
|
# the operator is discarded.
|
||||||
#
|
#
|
||||||
|
# $in_redirection is currently used for:
|
||||||
|
# - comments
|
||||||
|
# - aliases
|
||||||
|
# - redirections
|
||||||
|
# - parameter elision in command position
|
||||||
|
# - 'repeat' loops
|
||||||
|
#
|
||||||
local this_word next_word=':start::start_of_pipeline:'
|
local this_word next_word=':start::start_of_pipeline:'
|
||||||
integer in_redirection
|
integer in_redirection
|
||||||
# Processing buffer
|
# Processing buffer
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue