On 21:03 Thu 19 Mar, Bram Moolenaar wrote:
>From: Bram Moolenaar <[email protected]>
>Subject: Re: Cursorline and spell highlighting
>Date: Thu, 19 Mar 2009 21:03:05 +0100
>Cc: [email protected]
>To: iiijjjiii <[email protected]>
>
>
>Someone wrote:
>
>> 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.
>
>iiijjjiii isn't your name, right?  I'm not fixing problem for people who
>I don't know what to call.  So please tell us who you are, makes this
>maillist a lot more social.
>

My apologies. My email client is setup to use an anonymous username
unless I whitelist the address. Fixed.

-- 
Cheers,
Jim Karsten

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

Reply via email to