On 07/09 11:44, Gary Johnson wrote: > On 2011-09-07, you wrote: > > I've just noticed that > > > > :highlight TablineSel ctermfg=white ctermbg=blue cterm=NONE > > and > > :highlight TablineSel cterm=NONE ctermfg=white ctermbg=blue > > > > does not give the same result. > > > > In the first case, the cterm=NONE works, while in the second it does not > > (after that cterm=bold) > > > > It seems that's because a command such as > > :hi TabLineSel ctermfg=color > > also automatically modify cterm (after that cterm=bold) and thus the > > cterm information has to be precised after the ctermfg information. > > > > Can someone give me more explanation about the exact rule vim use ? > > Do > > :help highlight-cterm > :help highlight-ctermfg > > help explain what you're seeing?
I think this sentence describes well the problem: "For an xterm this depends on your resources, and is a bit unpredictable." And actually I didn't notice too that I only had the problem with TERM=xterm-16color (that I don't use anymore). It seems that the problem concerns rather xterm than vim. It's a little strange however that modifying ctermfg also modifies cterm (the contrary is more common). -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
