Thursday, February 3, 2011

Setting filetype with autocommand

Hi,

sorry for spamming the list but I've got another question.
I have the following line in my .vimrc

au BufRead, BufNewFile *.tex setfiletype context

Why is the filetype still »plaintex« after opening a .tex file?


Regards
Marco


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

Post a Comment