Gentoo Archives: gentoo-user

From: Chris Lieb <chris.lieb@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] [OT] Colors/styles in vim
Date: Wed, 22 Apr 2009 15:33:19
Message-Id: 49EF38BA.5040306@gmail.com
1 I am new to vim and am encountering an annoying issue: certain things
2 that I type in get highlighted red, for no apparent reason. For
3 example, if I create a file test.txt and insert the following text:
4
5 "prog"
6
7 the prog is given a red background. Even if I use ':syntax off', it is
8 still red.
9
10 What is causing this to happen? This makes it very hard to edit code
11 since strings are colored red, causing a red-on-red issue where you
12 can't read the text at all.
13
14 Thanks,
15 Chris

Replies

Subject Author
Re: [gentoo-user] [OT] Colors/styles in vim Anthony Metcalf <nevyn@××××××××××.uk>