From b8806696ec6cf9c2eacd55fa169e1d859eb65603 Mon Sep 17 00:00:00 2001 From: Silejonu <48565914+Silejonu@users.noreply.github.com> Date: Wed, 29 Mar 2023 18:33:01 +0200 Subject: [PATCH] fix comments being invisible in certain conditions When `setopt interactivecomments` is set, comments become invisible in a black terminal. This commit fixes it. --- highlighters/main/main-highlighter.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index f691051..367ebf8 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -59,7 +59,7 @@ : ${ZSH_HIGHLIGHT_STYLES[back-dollar-quoted-argument]:=fg=cyan} : ${ZSH_HIGHLIGHT_STYLES[assign]:=none} : ${ZSH_HIGHLIGHT_STYLES[redirection]:=fg=yellow} -: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bold} +: ${ZSH_HIGHLIGHT_STYLES[comment]:=fg=black,bg=magenta,bold} : ${ZSH_HIGHLIGHT_STYLES[named-fd]:=none} : ${ZSH_HIGHLIGHT_STYLES[numeric-fd]:=none} : ${ZSH_HIGHLIGHT_STYLES[arg0]:=fg=green}