Hi Martin! On Mi, 11 Dez 2013, Martin Lundberg wrote:
> On Wednesday, December 11, 2013 10:15:55 PM UTC+1, Christian Brabandt wrote: > > It should use a light green when Vim is using :set bg=dark and a dark > > green for :set bg=light Are you sure, nothing is resetting the > > background setting afterwards? If I do > > vim -u NONE -N --cmd 'set bg=dark' > > and then :hi MoreMsg I get this > > MoreMsg xxx term=bold ctermfg=121 gui=bold guifg=SeaGreen > > while with this: > > vim -u NONE -N --cmd 'set bg=light' > > I see > > MoreMsg xxx term=bold ctermfg=2 gui=bold guifg=SeaGreen > > (and each time, the 'xxx' are colored slightly different) > > ~$ vim --cmd ':set bg=dark|hi MoreMsg' test.php > MoreMsg xxx term=bold ctermfg=121 gui=bold guifg=SeaGreen > > ~$ vim --cmd ':set bg=light|hi MoreMsg' test.php > MoreMsg xxx term=bold ctermfg=2 gui=bold guifg=SeaGreen > > Not sure what 2 is since the colortest > (http://www.vim.org/scripts/script.php?script_id=1349) doesn't show color > number 2. I'll look into if I should just add a bash alias with some --cmd > fix or if I'll change the color in the terminal. And do the xxx look different? > Thanks for taking time to look into this! :) Color 2 is for xterm in the 16color cube equivalent to #00CD00 (a darkgreen color) while 121 is only supported for 256color terminals and for xterm equivalent to - if I am not mistaken - #87FFAF (a lightgreen color) Now this only holds for xterm, not sure, what colors other terminals use. Best, Christian -- Erwachsen werden bedeutet, zu vergessen, daß man als Kind noch die Welt retten wollte. -- Adnan Zelkanovic -- -- 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 [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
