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 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