diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 4c6f66e..776242b 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -45,7 +45,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 set tabstop=2 shiftwidth=2 expandtab +autocmd BufRead,BufNewFile *.rb,*.css,*.js,*.html,*.json set tabstop=2 shiftwidth=2 expandtab autocmd FileType crontab set backupcopy=yes function TrimTrailingInvisibles()