From d1459c82f78987edb995173788167bac72d95eea Mon Sep 17 00:00:00 2001 From: Josh Holtrop Date: Wed, 18 Sep 2013 15:59:50 -0400 Subject: [PATCH] set eruby_subtype to "c" for *.h.erb files --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index 2ed200a..5f2d84d 100644 --- a/vimrc +++ b/vimrc @@ -110,6 +110,7 @@ if has("autocmd") autocmd BufRead,BufNewFile *.icf set syntax=cpp autocmd FileType ruby,eruby setlocal sw=2 ts=2 sts=2 iskeyword+=@-@,? autocmd BufRead,BufNewFile *.di set filetype=d + autocmd BufNewFile,BufReadPre *.h.erb let b:eruby_subtype = "c" if has("gui_running") autocmd WinLeave * set nocursorline nocursorcolumn