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 792c065 commit 6fd92e1Copy full SHA for 6fd92e1
highlighters/main/main-highlighter.zsh
@@ -617,7 +617,7 @@ _zsh_highlight_main_highlighter_highlight_list()
617
if (( in_redirection == 0 )); then
618
this_word=$next_word
619
next_word=':regular:'
620
- else
+ elif (( !in_param )); then
621
# Stall $next_word.
622
(( --in_redirection ))
623
fi
highlighters/main/test-data/redirection-from-param.zsh
@@ -35,6 +35,6 @@ BUFFER=$'<$fn cat'
35
36
expected_region_highlight=(
37
'1 1 redirection' # <
38
- '2 4 path "issue #712"' # $fn
39
- '6 8 command "issue #712"' # cat
+ '2 4 path' # $fn
+ '6 8 command' # cat
40
)
0 commit comments