From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-user+bounces-94123-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LwgdY-0000ss-7G for garchives@archives.gentoo.org; Wed, 22 Apr 2009 17:53:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31B93E0404; Wed, 22 Apr 2009 17:53:31 +0000 (UTC) Received: from mail-qy0-f113.google.com (mail-qy0-f113.google.com [209.85.221.113]) by pigeon.gentoo.org (Postfix) with ESMTP id E480CE0404 for <gentoo-user@lists.gentoo.org>; Wed, 22 Apr 2009 17:53:30 +0000 (UTC) Received: by qyk11 with SMTP id 11so200935qyk.32 for <gentoo-user@lists.gentoo.org>; Wed, 22 Apr 2009 10:53:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:openpgp:content-type:content-transfer-encoding; bh=3BHVBIlfMcF0uCD0cw/WpmHvY4Jo1JkMTP8uuF/vvfM=; b=E8G8zZ+Dn0dDxHVoG69uwkVZPt47BGETZd193+h9fajznVuOuqLlTk5yBZ4FgPSOiC wmyX8jhVaeGaI92YyVX7SBXrLvD7luZEZLXpdfJp79zyHoDQCarIBLbCkU/DB54N3d5F XsTt/hpxYRiKnOyNSfKgCK6w4cRicnzKqE2MY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:openpgp:content-type :content-transfer-encoding; b=RzAErvwoErQV+PaYbYc2LErj1Ts2LkdLaPCcvE7RP2O7IkFtyl06EhpJvrH+jt/hK5 jqqnTPauOFb+qDItoX30UmqvG4SfCXUrnN0gtCVa30R+LwC7rnTN1gJ8ju2E/JKRQ6Yf L5F69Q9xVBxjrmt/nRRBk04KCMY3BZ3zqfu30= Received: by 10.224.36.213 with SMTP id u21mr72229qad.125.1240422809019; Wed, 22 Apr 2009 10:53:29 -0700 (PDT) Received: from ?10.192.205.124? (Net12H217.itsd.state.ms.us [205.144.227.217]) by mx.google.com with ESMTPS id 5sm559727ywd.16.2009.04.22.10.53.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Apr 2009 10:53:28 -0700 (PDT) Message-ID: <49EF5997.40701@gmail.com> Date: Wed, 22 Apr 2009 12:53:27 -0500 From: Chris Lieb <chris.lieb@gmail.com> User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: [OT] Colors/styles in vim References: <49EF38BA.5040306@gmail.com> <49EF3960.3070002@anferny.me.uk> <169ffc030904220909x50e48e95j6023ed8c2a8cf981@mail.gmail.com> In-Reply-To: <169ffc030904220909x50e48e95j6023ed8c2a8cf981@mail.gmail.com> X-Enigmail-Version: 0.95.7 OpenPGP: id=266AC070; url= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 3855afb1-c093-42c7-a43d-49fb6c36fbc8 X-Archives-Hash: cb631a2e6273b791a22eed0edf503497 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.