Wednesday, March 2, 2011

Re: Folded code indicator

>> I'm trying to use code folding in Python, but it clutters my screen a bit.
>>
>> I'm using the desert colorscheme and the background color of the lines
>> that replace the folded code is not the same as the rest of the file.
>> I'd like to change this so that all the lines of code (including the
>> folded ones) have the default background color defined in the desert
>> colorscheme.
>
> Try putting
>
> :hi Folded guibg=bg
>
> after your :colorscheme command in your .vimrc or .gvimrc.
>
> Ben.

Thanks a bunch, that did it!

Ended up also adding:

:hi Folded guifg=grey50

to get rid of the ugly yellow color (now the dark grey blends in with
the background).

Marin.

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

Post a Comment