We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent afa6bb3 commit 8ab8c81Copy full SHA for 8ab8c81
highlighters/main/main-highlighter.zsh
@@ -194,7 +194,7 @@ _zsh_highlight_main_highlighter()
194
((end_pos=$start_pos+${#arg}))
195
fi
196
197
- if [[ ${interactive_comments+'set'} && $arg[1] == $histchars[3] ]]; then
+ if [[ -n ${interactive_comments+'set'} && $arg[1] == $histchars[3] ]]; then
198
if [[ $this_word == *(':regular:'|':start:')* ]]; then
199
style=$ZSH_HIGHLIGHT_STYLES[comment]
200
else
0 commit comments