Friday, April 29, 2011

Re: syntax highlighting colors bold text

On 29/04/11 1:52 PM, Ben Schmidt wrote:
>> $COLORFGBG is set for the user, but not for root.
>>
>> $ echo $COLORFGBG
>> default;default;0
>>
>> Again, thank you!
>>
>> Best regards, mih
>
> To some degree, it looks like this is rxvt-specific. From version7.txt:
>
>> When using an rxvt terminal emulator guess the value of 'background'
>> using the COLORFGBG environment variable. (Ciaran McCreesh)
>
> Suggested diff to options.txt to make this easier to troubleshoot in the
> future, Bram:
>
> --- options.txt~ 2011-04-29 13:34:22.000000000 +1000
> +++ options.txt 2011-04-29 13:49:11.000000000 +1000
> @@ -820,7 +820,13 @@
> been set.
>
> *'background'* *'bg'*
> -'background' 'bg' string (default "dark" or "light")
> +'background' 'bg' string (default for GUI: "dark" or "light", according
> + to the background color;
> + for MS-DOS, Windows and OS/2: "dark";
> + for other systems: "dark" if 'term' is
> + "linux", "screen.linux", "cygwin" or "putty",
> + or $COLORFGBG suggests a dark background,
> + otherwise "light")
> global
> {not in Vi}
> When set to "dark", Vim will try to use colors that look good on a

P.S. I have no idea why 'term' would ever be set to "putty" on a
non-DOS/Windows system, and am unsure about "cygwin" (does that count as
UNIX or WIN3264 in the source code?), but that's what term_bg_default()
in option.c does.

Ben.

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