Skip to content

Instantly share code, notes, and snippets.

@defunkt
Created March 6, 2010 10:21
Show Gist options
  • Save defunkt/323622 to your computer and use it in GitHub Desktop.
Save defunkt/323622 to your computer and use it in GitHub Desktop.
Installing mustache.vim

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
@d2s
Copy link

d2s commented Jan 19, 2011

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

@avidal
Copy link

avidal commented Jan 25, 2011

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

@rsp
Copy link

rsp commented Feb 2, 2011

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.

@juvenn
Copy link

juvenn commented Apr 29, 2011

Mustache.vim has been updated to support matchit, thanks to 5long. Follow the readme to update.

@shime
Copy link

shime commented Jun 7, 2013

Change mv mustache.vim/indent/* indent/ to mv mustache.vim/ftplugin/* ftplugin/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment