On Fri, Mar 22, 2013 at 6:18 PM, Ben Fritz <[email protected]> wrote:

> On Friday, March 22, 2013 4:39:14 PM UTC-5, FlashBurn wrote:
> > I have the following code in my _vimrc
> >
> > colorscheme xoria256
> > hi CursorLine gui=underline guibg=NONE term=underline cterm=underline
> > set cursorline
> >
> > The issue that I'm having is that it doesn't work when vim is reopened
> or the _vimrc is sourced. However if I manually set it using
> >
> > hi CursorLine gui=underline guibg=NONE
> >
> > it starts to work. The default setting of xoria256 is
> >
> > hi CursorLine ctermbg=237 guibg=#3a3a3a cterm=none gui=none
> >
> > Does anybody know what is the problem? Why it doesn't work when it is in
> the _vimrc but works when it is set manually?
> >
> > Any help is appreciated.
> >
> > I'm using Windows XP Pro 2002 SP3
> > gVim 7.3
>
> You can check the output of this command to see where the highlight was
> last set:
>
>   :verbose hi CursorLine
>
> Knowing that, you may be able to debug yourself. Otherwise, what do you
> mean by "it doesn't work"? What happens? What did you expect to happen
> instead?
>
> --
> --
> 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 a topic in the
> Google Groups "vim_use" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/vim_use/eFrCQg3SXr4/unsubscribe?hl=en.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>
Here is what the output of verbose hi CursorLine
CursorLine xxx term=underline ctermbg=237 guibg=#3a3a3a
            Last set from
~/vimfiles/bundle/colour-sampler-pack/colors/xoria256.vim

Here is the setting from xoria256.vim
hi CursorLine ctermbg=237 guibg=#3a3a3a cterm=none gui=none

And here is how it is set in my vimrc
colorscheme xoria256
" Set the line of with the cursor to be underlined.
hi CursorLine gui=underline guibg=NONE term=underline cterm=underline
" Turn on the highlight of the line with the cursor.
set cursorline

The output looks like it is a mixture of the downloaded colorscheme and my
own settings.
I run my pathogen plugin before the colorscheme is set.

I'm not sure what is going on.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to