Add erb and coffee script tab settings

This commit is contained in:
Kevin Cotugno 2017-09-08 09:06:26 -07:00
parent 012ced9331
commit ba8600d427

View File

@ -50,7 +50,7 @@ set list
set listchars=tab:――,space,trail set listchars=tab:――,space,trail
autocmd BufRead,BufNewFile *.cs,*.java set tabstop=4 shiftwidth=4 expandtab autocmd BufRead,BufNewFile *.cs,*.java set tabstop=4 shiftwidth=4 expandtab
autocmd BufRead,BufNewFile *.rb,*.css,*.js,*.html,*.json set tabstop=2 shiftwidth=2 expandtab autocmd BufRead,BufNewFile *.rb,*.css,*.js,*.coffee,*.erb,*.html,*.json set tabstop=2 shiftwidth=2 expandtab
autocmd FileType crontab set backupcopy=yes autocmd FileType crontab set backupcopy=yes
function TrimTrailingInvisibles() function TrimTrailingInvisibles()