Wednesday, February 4, 2015

Have CursorLine respect the prevailing guifg in absence of CursorLine

I had the following in my color scheme:

hi CursorColumn guibg=#002800 guifg=white gui=NONE
hi CursorLine guibg=#002000 guifg=white gui=NONE

It was making text white, but I really wanted to see text according to
the prevailing syntax color scheme. In hopes of making CursorLine
respect the guifg that would be in effect in the absence of
CursorLine, I tried:

hi CursorColumn guibg=#002800 guifg=NONE gui=NONE hi CursorLine
guibg=#002000 guifg=NONE gui=NONE

All that did was to make the text black.

Is there any way to have CursorLine &/or CursorColumn respect the
guifg that is in effect in the absence of CursorLine/CursorColumn?

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