Skip to content
Vim syntax file for mustache and handlebars(?)
VimL
Pull request Compare This branch is 23 commits behind juvenn:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
ftdetect
ftplugin
indent
syntax
README.md
example.mustache

README.md

Vim for Mustache

mustache.vim is a simple plugin for working with mustache templates. It has both syntax hilighting and indenting, which just borrows from html indent plugin.

Install for pathogen

cd ~/.vim/
git submodule add git://github.com/juvenn/mustache.vim.git bundle/mustache
vim bundle/mustache/example.mustache

Manually Install

cd ~/.local/src
git clone git://github.com/juvenn/mustache.vim.git
cp -R mustache.vim/syntax/* ~/.vim/syntax/
cp -R mustache.vim/indent/* ~/.vim/indent/
cp -R mustache.vim/ftdetect/* ~/.vim/ftdetect/
cp -R mustache.vim/ftplugin/* ~/.vim/ftplugin/
vim mustache.vim/example.mustache

Thanks

Something went wrong with that request. Please try again.