Skip to content

Instantly share code, notes, and snippets.

@stephenvisser
Created May 24, 2012 15:27
Show Gist options
  • Save stephenvisser/2782235 to your computer and use it in GitHub Desktop.
Save stephenvisser/2782235 to your computer and use it in GitHub Desktop.
A Vim script for indenting *.eco files
" Eco templates will use html indenting
" Taken from https://github.com/juvenn/mustache.vim/blob/master/indent/mustache.vim
" Only load this indent file when no other was loaded.
if exists("b:did_indent")
finish
endif
" Use HTML formatting rules.
runtime! indent/html.vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment