Yes that will work. 

A better way to do that is to edit your:
.vim/filetype.vim
Or
Vimfiles\filetype.vim

And clone an entry that does the same thing as Taylor mentioned in his autocmd. 
You will see other similar entries. 

HTH
--
David Fishburn


On Dec 30, 2010, at 1:39 PM, Taylor Hedberg <[email protected]> wrote:

> You could use an autocommand in your .vimrc to set the filetype
> automatically based on the file extension, e.g.:
> 
>    au BufNewFile,BufRead *.prc setl ft=sql
> 
> -- 
> 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

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