Bug#680772: vim: default completion menu highlight colors unreadable (PmenuSel)

Mirosław Zalewski miniopl at poczta.onet.pl
Tue Jul 10 11:38:18 UTC 2012

On 10/07/2012 at 04:24, James McCoy <jamessan at debian.org> wrote:

> I think you mean Ctrl+x Ctrl+f here.

Yes. I was thinking about omnifunc completion, but decided that path 
completion will be easier and changed only half of message.

> It works fine for me.  What terminal are you using?

I use Konsole (KDE term app) as default terminal.
Now I have checked most terminal apps in repository. I have run 
'vim -u NONE -U NONE -N' command as fresh user (with empty ~) to ensure that 
~/.bashrc and ~/.Xresources do not affect it. Results:

terminal        bg color     vim &bg     bug exists
konsole         black        dark        yes
xterm           black        light       no
linux (TTY)     black        dark        yes
urxvt           white        light       no
kterm           white        light       no
aterm           black        dark        yes
Eterm           black*       dark        yes
mlterm          white        light       yes
lxterminal      black        light       no
xfce4-terminal  black        light       no
gnome-terminal  white        light       no
roxterm         white        light       no

* Eterm uses random dark image as default background

Pattern is clearly visible - if bg variable in vim is set to "dark", then this 
bug occurs. If it is set to "light", then it does not. I can also change bg on 
runtime (through 'set' command) to trigger it - xterm, kterm, aterm, mlterm, 
gnome-terminal and roxterm will have unreadable PmenuSel if bg is set to 

The only terminal not affected by this (PmenuSel readable when bg is either 
light or dark) is urxvt. There must be something special about this app.

Hope that clear things a bit
Best regards
Mirosław Zalewski

More information about the pkg-vim-maintainers mailing list