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-94122-garchives=archives.gentoo.org@lists.gentoo.org>) id 1LwgaV-0008SY-75 for garchives@archives.gentoo.org; Wed, 22 Apr 2009 17:50:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5F988E03EF; Wed, 22 Apr 2009 17:50:20 +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 23F3AE03EF for <gentoo-user@lists.gentoo.org>; Wed, 22 Apr 2009 17:50:19 +0000 (UTC) Received: by qyk11 with SMTP id 11so197455qyk.32 for <gentoo-user@lists.gentoo.org>; Wed, 22 Apr 2009 10:50:19 -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=AIWNdzrzr6hK2y8UtvPLmInd6sDKJKkVgWjSxpO0wzM=; b=uxYY7JLTkuYDAZUlaNteqFwgJVYBvhyej3x/Ll39pks0dr0ZeBZB2/2Ltik4Jj7yrU ijq9/utk+fsVC4C0UU0412kDZKVN0dsGoPUoNsQNDCgU+4IU/RcMhfMsCcF5hdLBeMY0 nIQBMnmCt7+f8SMdvHFiOqGOmVGUB+X5AXYoI= 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=gElQHFiL67pNPDYRHnOn18MS8V38JIRjTSdndk500KoNiyq+ZmgX05MlmysMMa7p59 rEeWQEdwcqMuqqfrNd3HfSaO223nKKED+5zeuQZCYkH9zOCLl+pj9cxwSEaZ0DscXnRQ GAI3j98EHSbRWYh9HQ7ouehxB21uiDzTxk69s= Received: by 10.229.83.138 with SMTP id f10mr51493qcl.17.1240422610193; Wed, 22 Apr 2009 10:50:10 -0700 (PDT) Received: from ?10.192.205.124? (Net12H217.itsd.state.ms.us [205.144.227.217]) by mx.google.com with ESMTPS id 6sm537916ywn.38.2009.04.22.10.50.09 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 22 Apr 2009 10:50:09 -0700 (PDT) Message-ID: <49EF58D0.1040803@gmail.com> Date: Wed, 22 Apr 2009 12:50:08 -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> In-Reply-To: <49EF3960.3070002@anferny.me.uk> X-Enigmail-Version: 0.95.7 OpenPGP: id=266AC070; url= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 954d2ce0-4a44-45ca-be9c-4d776c056de3 X-Archives-Hash: 1194f5a5c623f779a45b94ea18bcc02e 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.