Saturday, December 24, 2011

why is Vim coloring text in txt files?

Sometimes Vim displays my .txt files in various colors.

The coloring of the text depends on the position of "#" (line 4 in the
examples below). You can see the colors in the attached png file.

Is that normal behavior for Vim? If not, where could this colors be
coming from?

I don't think the colors are coming from my vimrc file, but I attached
it in case you want to take a look.

I just want black text and maybe colors for Markdown headings.

Thank you,
wolfv
--

temp2.txt:
After reopening file in Vim,
if first line starting with hash (#) starts after column 1
then
#hash is black
'single quote is black'
"double quote is black"

temp3.txt:
After reopening file in Vim,
if first line starting with hash (#) starts in column 1
then
#hash is blue
'single quote is pink'
"double quote is pink"

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: