> On Jun 21, 2011 at 08:44 PM -0400, Eric Weir wrote:
>> But that gives rise to another question: Could I associate other extents with the markdown filetype, e.g., mmd?
>
> I mentioned how to do this on the spell checking thread we were corresponding on.
>
> au BufRead,BufNewFile *.ext :set ft=markdown
>
> Replace 'ext' with the extension that you want to add.
I tried putting this in ~/.vim/after/ftplugin/markdown.vim and it didn't work. I moved it to my .vimrc and it worked. I don't know if that's the best place for it, though.
------------------------------------------------------------------------------------------
Eric Weir
Decatur, GA USA
eeweir@bellsouth.net
--
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