Wednesday, September 7, 2011

order of cterm=?, ctermfg=? in :highlight

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 ?

--
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

No comments: