On 11/02/11 8:11 AM, Dun Peal wrote:
Hi!  I'd like to turn off syntax highlighting for a particular file
type. How do I do that?

Specifically, I'd like to turn off the syntax highlighting for text
(i.e. `*.txt`) files. Vim highlights them out of the box, and the
string highlighting interacts with specific modes (like diff mode) to
render unreadable text.

*.txt files are not highlighted for me, which suggests to me that you
have a plugin that is adding highlighting for them, or they are being
recognised by file content.

When you have a file open, what do you see if you do

:verbose set ft?

and

:verbose set syn?

?

Once we know why it's happening it will probably be easier to provide
the most appropriate solution (there are multiple ways to do this, and
some are better than others).

Ben.



--
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

Reply via email to