From 127ce0a78dd67dd4a33a8a4531424ecacdcd9b83 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Mon, 22 May 2017 14:19:01 -0700 Subject: [PATCH] Default to 8 char width tabs :dagger: --- config/nvim/init.vim | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/config/nvim/init.vim b/config/nvim/init.vim index 1d1374f..ab412ff 100644 --- a/config/nvim/init.vim +++ b/config/nvim/init.vim @@ -43,14 +43,8 @@ filetype plugin indent on set list 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 *.go set tabstop=8 shiftwidth=8 noexpandtab -autocmd BufRead,BufNewFile *.asm set filetype=nasm +autocmd BufRead,BufNewFile *.rb,*.css,*.js set tabstop=2 shiftwidth=2 expandtab autocmd FileType crontab set backupcopy=yes function TrimTrailingInvisibles()