[Vimoutliner] highlight groups being cleared

Noel Henson noel at noels-lab.com
Tue Feb 12 13:16:04 EST 2008


That would do it. Try adding your User colors to the vo_color scheme you 
are using. That should fix the problem. :he vo-color.

Noel


On Tuesday 12 February 2008, Jeremy Cantrell wrote:
> when i tried it with just the highlight definitions that i gave you,
> it worked, so i tried to find in my config files what could be causing
> it. i've been able to narrow it down to 1 line...
>
> try this... before the highlight definitions add the following line:
>
> colorscheme pablo
>
> i would assume that other colorschemes would have the same effect.
> pablo comes with vim (i think), but i've tried other schemes (inkpot,
> wombat), and they had the same effect. commenting that line out seems
> to correct it, but that really isn't a solution, for obvious reasons
>
> :)
>
> see what effect that has for you.
>
> On Feb 12, 2008 12:39 PM, Jeremy Cantrell <jmcantrell at gmail.com> wrote:
> > i'll try it with an empty vimrc and empty .vim folder to make sure
> > it's not something conflicting.
> >
> > On Feb 12, 2008 12:10 PM, Noel Henson <noel at noels-lab.com> wrote:
> > > I installed your .vimrc lines. When I open a .OTL file and :hi
> > > User3, I see the correct settings. It must be a distro thing.
> > >
> > > Can anyone else lend a hand?
> > >
> > >
> > > Noel
> > >
> > > On Tuesday 12 February 2008, Jeremy Cantrell wrote:
> > > > that's pretty much it.
> > > >
> > > > 1. define the highlight groups in vimrc
> > > > 2. open an otl file
> > > >
> > > > On Feb 12, 2008 11:03 AM, Noel Henson <noel at noels-lab.com> wrote:
> > > > > Jeremy,
> > > > >
> > > > > Assume I'm at a Linux box. What steps do I take to replicate the
> > > > > error? That will help me isolate the problem.
> > > > >
> > > > > Thanks,
> > > > > Noel
> > > > >
> > > > > On Tuesday 12 February 2008, Jeremy Cantrell wrote:
> > > > > > sure. first of all, i'm using the vim package on ubuntu. i
> > > > > > have the following color groups defined at the end of my
> > > > > > .vimrc:
> > > > > >
> > > > > > hi User3        cterm=bold ctermfg=209 ctermbg=235 gui=bold
> > > > > > guifg=#ff875f guibg=#3e3e5e
> > > > > > hi User4        cterm=bold ctermfg=111 ctermbg=235 gui=bold
> > > > > > guifg=#87afff guibg=#3e3e5e
> > > > > > hi User5        cterm=bold ctermfg=231 ctermbg=235 gui=bold
> > > > > > guifg=#ffffff guibg=#3e3e5e
> > > > > > hi User6        cterm=bold ctermfg=51  ctermbg=235 gui=bold
> > > > > > guifg=#00ffff guibg=#3e3e5e
> > > > > > hi User7        cterm=bold ctermfg=226 ctermbg=235 gui=bold
> > > > > > guifg=#ffff00 guibg=#3e3e5e
> > > > > > hi User8        cterm=bold ctermfg=36  ctermbg=235 gui=bold
> > > > > > guifg=#00af87 guibg=#3e3e5e
> > > > > > hi User9        cterm=bold ctermfg=250 ctermbg=235 gui=bold
> > > > > > guifg=#b9b9b9 guibg=#3e3e5e
> > > > > >
> > > > > > i use these colors in my statusline definition:
> > > > > >
> > > > > > set statusline=%5*[%n]%*\ %<%4*%f%*%7*%4m%*%3*%5r%10w%*\
> > > > > > %9*[%{&fileformat}]%*\ %6*%y%*\ %=%1*[%o]\ %l,%c%V\/%L%*\
> > > > > > %3*%P%*
> > > > > >
> > > > > > i've installed vimoutliner exactly as the instructions said.
> > > > > > also, i'm using the vimoutliner package that i downloaded from
> > > > > > the main site, not the one that's available in the ubuntu
> > > > > > repositories. any time i open a *.otl file, everything works
> > > > > > fine, but the areas of the status line that use those groups
> > > > > > are cleared. in any other file, the command ":hi User3" shows
> > > > > > the right value, but with otl files, it shows as cleared.
> > > > > >
> > > > > > let me know what other information i can give.
> > > > > >
> > > > > > On Feb 12, 2008 10:21 AM, Noel Henson <noel at noels-lab.com> 
wrote:
> > > > > > > On Tuesday 12 February 2008, Jeremy Cantrell wrote:
> > > > > > > > can someone help me understand why my User[3-9] highlight
> > > > > > > > groups are being cleared whenever i open an outliner file?
> > > > > > > > this only happens when using vimoutliner. thanks! :)
> > > > > > > >
> > > > > > > > -jeremy
> > > > > > >
> > > > > > > Jeremy,
> > > > > > >
> > > > > > > Can you provide a procedure that will duplicate the error?
> > > > > > >
> > > > > > > Noel
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > >
> > > > > > > ------------------------------------------------------------
> > > > > > >------ Noel Henson
> > > > > > >   www.noels-lab.com     Chips, firmware and embedded systems
> > > > > > >   www.vimoutliner.org   Work fast. Think well.
> > > > > > >
> > > > > > > _______________________________________________
> > > > > > > VimOutliner mailing list
> > > > > > > VimOutliner at vimoutliner.org
> > > > > > > http://www.lists.vimoutliner.org/mailman/listinfo/vimoutline
> > > > > > >r
> > > > >
> > > > > --
> > > > >
> > > > > ----------------------------------------------------------------
> > > > >-- Noel Henson
> > > > >   www.noels-lab.com     Chips, firmware and embedded systems
> > > > >   www.vimoutliner.org   Work fast. Think well.
> > > > >
> > > > > _______________________________________________
> > > > > VimOutliner mailing list
> > > > > VimOutliner at vimoutliner.org
> > > > > http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner
> > >
> > > --
> > >
> > > ------------------------------------------------------------------
> > >   Noel Henson
> > >   www.noels-lab.com     Chips, firmware and embedded systems
> > >   www.vimoutliner.org   Work fast. Think well.
> > >
> > >
> > > _______________________________________________
> > > VimOutliner mailing list
> > > VimOutliner at vimoutliner.org
> > > http://www.lists.vimoutliner.org/mailman/listinfo/vimoutliner
> >
> > --
> >
> > :wq



-- 

------------------------------------------------------------------
  Noel Henson
  www.noels-lab.com	Chips, firmware and embedded systems
  www.vimoutliner.org	Work fast. Think well.



More information about the VimOutliner mailing list