Mercurial > ec-dotfiles
diff rc/vimrc @ 390:e1f07d9d6937
Enforce filetype eruby.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 26 Jul 2012 17:44:26 +0700 |
parents | 0adc967bafda |
children | 0aabb2b34ef6 |
line wrap: on
line diff
--- a/rc/vimrc Thu Jul 26 16:01:40 2012 +0700 +++ b/rc/vimrc Thu Jul 26 17:44:26 2012 +0700 @@ -43,4 +43,5 @@ autocmd BufRead,BufNewFile .git/COMMIT_EDITMSG :set noet ts=8 nolist autocmd BufRead,BufNewFile .gitconfig :set noet ts=8 nolist autocmd BufRead,BufNewFile .git/config :set noet ts=8 nolist + autocmd BufRead,BufNewFile *.erb :set ft=eruby ts=2 et list endif