Is it possible to have different set of colors for folds and subfolds, eg :
- blue fg on grey bg for fold level 1 (default)
- black fg on darkyellow bg for fold level 2
- etc... (although going further down would seem a bit excessive)
Thanks
ThG
Is it possible to have different set of colors for folds and subfolds, eg :
Thanks
ThG
Hello.
From vim documentation:
COLORS *fold-colors*
The colors of a closed fold are set with the Folded group |hl-Folded|. The
colors of the fold column are set with the FoldColumn group |hl-FoldColumn|.
Example to set the colors: >
:highlight Folded guibg=grey guifg=blue
:highlight FoldColumn guibg=darkgrey guifg=white
so you cannot easily do this. The best piece of advice I could give you is to set statusbar to display the current fold level if possible.
I have a simple patch to the Vim c code that lets you set this up pretty easily. Let me know if you want the patch to recompile Vim, or if you're on Windows I can send you a patched executable for Vim 7.2.