In your shell:
cd ~/.vim
git clone git://github.com/juvenn/mustache.vim.git
mv mustache.vim/syntax/* syntax/
mv mustache.vim/indent/* indent/
mv mustache.vim/ftdetect/* ftdetect/
rm -rf mustache.vimIn your shell:
cd ~/.vim
git clone git://github.com/juvenn/mustache.vim.git
mv mustache.vim/syntax/* syntax/
mv mustache.vim/indent/* indent/
mv mustache.vim/ftdetect/* ftdetect/
rm -rf mustache.vimMustache.vim has been updated to support matchit, thanks to 5long. Follow the readme to update.
Change mv mustache.vim/indent/* indent/ to mv mustache.vim/ftplugin/* ftplugin/.
Following the instructions in this gist will install an old version (from 2009 Oct 15) of only:
by Juvenn Woo. See github.com/juvenn/mustache.vim for a newer version (from Jan 16th 2011 as of this writing) of all of the:
If you install all of those files there's no need to add anything to
~/.vim/filetype.vimfor Vim to detect the file type. Also, it will use the HTML indentation rules.I write it because this gist is linked on mustache.github.com.