2009/4/22 Anthony Metcalf <ne...@anferny.me.uk>:
> Chris Lieb wrote:
>> I am new to vim and am encountering an annoying issue: certain things
>> that I type in get highlighted red, for no apparent reason.  For
>> example, if I create a file test.txt and insert the following text:
>>
>> "prog"
>>
>> the prog is given a red background.  Even if I use ':syntax off', it is
>> still red.
>>
>> What is causing this to happen?  This makes it very hard to edit code
>> since strings are colored red, causing a red-on-red issue where you
>> can't read the text at all.
>
> You don't happen to have searched for "prog" last do you? try hitting
> "/zzzzz" (assuming you don't have zzzz in the file...) in command mode
> and see if the highlight goes away.

Maybe the spell checker is enabled?
:set nospell

Reply via email to