public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark <znxster@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] [OT] Colors/styles in vim
Date: Wed, 22 Apr 2009 17:09:57 +0100	[thread overview]
Message-ID: <169ffc030904220909x50e48e95j6023ed8c2a8cf981@mail.gmail.com> (raw)
In-Reply-To: <49EF3960.3070002@anferny.me.uk>

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



  reply	other threads:[~2009-04-22 16:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2009-04-22 17:53     ` [gentoo-user] " Chris Lieb
2009-04-22 17:50   ` Chris Lieb

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=169ffc030904220909x50e48e95j6023ed8c2a8cf981@mail.gmail.com \
    --to=znxster@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox