summaryrefslogtreecommitdiffstats
path: root/Src/Zle/complist.c
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2025-11-12 07:54:21 +0100
committerOliver Kiddle <opk@zsh.org>2025-11-12 07:55:05 +0100
commitd8666da9de4842b454567798e900c64c723c5e60 (patch)
treee5fcceacf66e5c8a2ea028c0ad577c7fd7d58757 /Src/Zle/complist.c
parent54037: fix to highlight layers where special is assigned a low layer (diff)
downloadzsh-d8666da9de4842b454567798e900c64c723c5e60.tar
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.gz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.bz2
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.lz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.xz
zsh-d8666da9de4842b454567798e900c64c723c5e60.tar.zst
zsh-d8666da9de4842b454567798e900c64c723c5e60.zip
54043, 54055: allow highlighing attributes to be turned back off
Diffstat (limited to 'Src/Zle/complist.c')
-rw-r--r--Src/Zle/complist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/Zle/complist.c b/Src/Zle/complist.c
index ea18434a3..4c87c15d7 100644
--- a/Src/Zle/complist.c
+++ b/Src/Zle/complist.c
@@ -1183,7 +1183,7 @@ compprintfmt(char *fmt, int n, int dopr, int doesc, int ml, int *stop)
break;
case ZWC('H'):
if (*p == '{') {
- p = parsehighlight(p + 1, '}', &atr);
+ p = parsehighlight(p + 1, '}', &atr, NULL);
if (atr != TXT_ERROR && dopr)
treplaceattrs(atr);
}