Friday, February 11, 2011

Re: How do you disable syntax highlighting for a specific file type?

On Feb 11, 4:08 am, Ben Schmidt <mail_ben_schm...@yahoo.com.au> wrote:

Thanks a lot, Ben. I added the following line to my ~/.vimrc:

au BufRead *.txt set ft=

And now *.txt files are no longer mis-assigned the filetype `conf`.
Hope that makes sense as a solution.

Thanks, D

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