public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] [OT] Colors/styles in vim
@ 2009-04-22 15:33 Chris Lieb
  2009-04-22 15:36 ` Anthony Metcalf
  0 siblings, 1 reply; 5+ messages in thread
From: Chris Lieb @ 2009-04-22 15:33 UTC (permalink / raw
  To: gentoo-user

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.

Thanks,
Chris



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT] Colors/styles in vim
  2009-04-22 15:33 [gentoo-user] [OT] Colors/styles in vim Chris Lieb
@ 2009-04-22 15:36 ` Anthony Metcalf
  2009-04-22 16:09   ` Mark
  2009-04-22 17:50   ` Chris Lieb
  0 siblings, 2 replies; 5+ messages in thread
From: Anthony Metcalf @ 2009-04-22 15:36 UTC (permalink / raw
  To: gentoo-user

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.
>
> Thanks,
> Chris
>
>   
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.




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] [OT] Colors/styles in vim
  2009-04-22 15:36 ` Anthony Metcalf
@ 2009-04-22 16:09   ` Mark
  2009-04-22 17:53     ` [gentoo-user] " Chris Lieb
  2009-04-22 17:50   ` Chris Lieb
  1 sibling, 1 reply; 5+ messages in thread
From: Mark @ 2009-04-22 16:09 UTC (permalink / raw
  To: gentoo-user

2009/4/22 Anthony Metcalf <nevyn@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: [OT] Colors/styles in vim
  2009-04-22 15:36 ` Anthony Metcalf
  2009-04-22 16:09   ` Mark
@ 2009-04-22 17:50   ` Chris Lieb
  1 sibling, 0 replies; 5+ messages in thread
From: Chris Lieb @ 2009-04-22 17:50 UTC (permalink / raw
  To: gentoo-user

On 4/22/2009 10:36 AM, Anthony Metcalf wrote:
> 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.
>>
>> Thanks,
>> Chris
>>
>>
> 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.
>
Nope. It happens with other bits of text in strings also, not just prog.
 Even how, I think search highlights with gold/yellow, not red.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-user] Re: [OT] Colors/styles in vim
  2009-04-22 16:09   ` Mark
@ 2009-04-22 17:53     ` Chris Lieb
  0 siblings, 0 replies; 5+ messages in thread
From: Chris Lieb @ 2009-04-22 17:53 UTC (permalink / raw
  To: gentoo-user

On 4/22/2009 11:09 AM, Mark wrote:
> 2009/4/22 Anthony Metcalf <nevyn@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
> 
That was it.  Thanks all.




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-04-22 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 15:33 [gentoo-user] [OT] Colors/styles in vim Chris Lieb
2009-04-22 15:36 ` Anthony Metcalf
2009-04-22 16:09   ` Mark
2009-04-22 17:53     ` [gentoo-user] " Chris Lieb
2009-04-22 17:50   ` Chris Lieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox