HTML and JSON 2 space tabs

This commit is contained in:
Kevin Cotugno 2017-06-27 07:22:35 -07:00
parent 05284b9881
commit 1280f9d1c2

View File

@ -45,7 +45,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 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 autocmd FileType crontab set backupcopy=yes
function TrimTrailingInvisibles() function TrimTrailingInvisibles()