Friday, March 6, 2015

Re: colorcolumn and foldtext

Christian wrote:

> Bram,
>
> On Fr, 06 Mär 2015, Christian Brabandt wrote:
> > On Do, 05 Mär 2015, Carlos Pita wrote:
> >
> > > Hi all,
> > >
> > > is there any way to force the color column to show above a fold header?
> > >
> > > I tried:
> > >
> > > highlight Folded cterm=none ctermbg=none
> > >
> > > and
> > >
> > > highlight clear Folded
> > >
> > > to no avail.
> > >
> > > See the attached screenshot in case I'm not being clear.
> >
> > I don't think there is a possibility. Vims highlighting priorities are
> > mostly hard coded in the source. So there is nothing you can do about.
>
> Here is a patch, that makes the colorcolumn drawn on top of folded
> regions.

The idea of 'colorcolumn' is that it applies to the text. So you can
align items or make sure they are in a certain column. I don't see
how that is useful in a folded region. I would think it makes the
closed fold look odd. I have the idea that the closed fold is "above"
the text and the 'colorcolumn' is "under" the text.

So, why would someone want to change this?


--
Luxury. We used to have to get out of the lake at three o'clock in the
morning, clean the lake, eat a handful of hot gravel, go to work at the
mill every day for tuppence a month, come home, and Dad would beat us
around the head and neck with a broken bottle, if we were LUCKY!

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: