Tuesday, January 7, 2014

Re: background variable always set to light

i did another test following Yukihiro Nakadaira example

:set background?
background=light
:set background=dark
:set background?
background=dark
:hi Normal ctermfg=grey ctermbg=234
:set background?
background=light
:hi Normal ctermfg=grey ctermbg=0
:set background?
background=dark

so it seems &background is changed according to the value of ctermbg. but I'd risk saying it behaves the wrong way, because cterm 234 is indeed a dark grey :p

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment