public
Last active

Installing mustache.vim

  • Download Gist
installing-mustache.vim.md
Markdown

mustache.vim

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

When trying to use aforementioned wget command, the program complains:

ERROR: certificate common name `*.github.com' doesn't match requested host name `github.com'.
To connect to github.com insecurely, use `--no-check-certificate'.

Getting anything on github over wget results in the same error. It's a bit of a pain in the ass.

Following the instructions in this gist will install an old version (from 2009 Oct 15) of only:

syntax/mustache.vim

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:

syntax/mustache.vim
indent/mustache.vim
ftdetect/mustache.vim

If you install all of those files there's no need to add anything to ~/.vim/filetype.vim for 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.

Mustache.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/.

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.