Default to 8 char width tabs 🗡️

This commit is contained in:
Kevin Cotugno 2017-05-22 14:19:01 -07:00
parent 4681ebbab2
commit 127ce0a78d

View File

@ -43,14 +43,8 @@ filetype plugin indent on
set list set list
set listchars=tab:――,space,trail set listchars=tab:――,space,trail
set tabstop=2
set shiftwidth=2
set expandtab
autocmd BufRead,BufNewFile *.h,*.c,*.cpp, set tabstop=8 shiftwidth=8 expandtab
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 *.go set tabstop=8 shiftwidth=8 noexpandtab autocmd BufRead,BufNewFile *.rb,*.css,*.js set tabstop=2 shiftwidth=2 expandtab
autocmd BufRead,BufNewFile *.asm set filetype=nasm
autocmd FileType crontab set backupcopy=yes autocmd FileType crontab set backupcopy=yes
function TrimTrailingInvisibles() function TrimTrailingInvisibles()