highlight with folded level?

0 views
Skip to first unread message

anhnmncb

unread,
Dec 1, 2008, 6:24:28 AM12/1/08
to vim...@googlegroups.com
Hi, is it possible to let different level of foldeds with different highlights?

--
Regards,
anhnmncb

Tony Mechelynck

unread,
Dec 1, 2008, 6:52:27 AM12/1/08
to vim...@googlegroups.com
On 01/12/08 12:24, anhnmncb wrote:
> Hi, is it possible to let different level of foldeds with different highlights?
>

I think that for closed folds you can't (the closed fold is highlited
using the Folded group). For open folds it might be possible but far
from easy. You might want to set 'foldcolumn' (q.v.) to a large enough
value and look at the lines and twisties in the fold column.

Best regards,
Tony.
--
Some programming languages manage to absorb change but withstand
progress.

anhnmncb

unread,
Dec 1, 2008, 7:35:41 AM12/1/08
to vim...@googlegroups.com
On 2008-12-01, Tony Mechelynck wrote:
>
> I think that for closed folds you can't (the closed fold is highlited
> using the Folded group). For open folds it might be possible but far
> from easy. You might want to set 'foldcolumn' (q.v.) to a large enough
> value and look at the lines and twisties in the fold column.
Yes, I meant closed folds, don't know if it will be supported in future?


--
Regards,
anhnmncb

Tony Mechelynck

unread,
Dec 1, 2008, 8:11:24 AM12/1/08
to vim...@googlegroups.com

Hm, don't think there's a big chance of it, but I'm not Bram. See also
":help vote-for-features".


Best regards,
Tony.
--
Once a young gay from Khartoum
Took a lesbian up to his room.
They argued all night
Over who had the right
To do what, and with which, and to whom.

Reply all
Reply to author
Forward
0 new messages