I see different highlighting behaviour on the cursor line with search
highlights and spell highlights. I'm not sure if this is intentional or not.

To simulate set up a bare-bones vimrc as follows.

set cursorline
set hlsearch
set spell
hi CursorLine cterm=NONE ctermfg=0 ctermbg=123
hi Search     cterm=NONE ctermfg=0 ctermbg=222
hi SpellBad   cterm=NONE ctermfg=0 ctermbg=219

When the cursor is set on a line with a search highlight, the search
highlight displays through the cursorline highlight. But when the cursor
is set on a line with a spell highlight, the spell highlight disappears.
Having the spell highlights visible is much better since vim alerts you
of spelling errors as you type. This is the behaviour when you have
cursorline turned on without the "hi CursorLine" defined.

Anyone been able to correct this?

Is the CursorLine hightlighting defined with a syntax group? If so, I
suspect a "contai...@spell" is all that is needed. I have no idea where
to look for that though. Any help appreciated.

-- 
Cheers,
iiijjjiii

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to