zsh-workers
 help / color / mirror / code / Atom feed
* [BUG] zle_highlight fails to highlight suffix added with compadd -R
@ 2021-09-07 10:05 Marlon Richert
  2021-09-07 22:19 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Marlon Richert @ 2021-09-07 10:05 UTC (permalink / raw)
  To: Zsh hackers list

The following completion functions give different highlighting results
in the zle:

_tst() { compadd -S '<SUFFIX>' -q -- '' }
_tst() { compadd -S '<SUFFIX>' -r '' -- '' }
_tst() { compadd -S '<SUFFIX>' -R '' -- '' }

With the first two functions, <SUFFIX> correctly gets highlighted as
autoremovable. However, with the third function, <SUFFIX> does not get
highlighted, even though it is autoremovable.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-09-08  2:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-07 10:05 [BUG] zle_highlight fails to highlight suffix added with compadd -R Marlon Richert
2021-09-07 22:19 ` Bart Schaefer
2021-09-08  2:13   ` Mikael Magnusson
2021-09-08  2:43     ` Bart Schaefer

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).