diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 0379675..2f4ed01 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -50,7 +50,7 @@ set list set listchars=tab:――,space:·,trail:· 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 function TrimTrailingInvisibles()