set eruby_subtype to "c" for *.h.erb files
This commit is contained in:
parent
170d00e1ab
commit
d1459c82f7
1
vimrc
1
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user