Skip to content

Commit 031f811

Browse files
committed
'main': Don't add multiple styles for a single parameter's expansion.
See zsh-users#684 (comment)
1 parent 00bd869 commit 031f811

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ _zsh_highlight_main_add_region_highlight() {
8585
return
8686
fi
8787
param_style=$1
88+
return
8889
fi
8990

9091
# The calculation was relative to $buf but region_highlight is relative to $BUFFER.

0 commit comments

Comments
 (0)