expand tab on c files

This commit is contained in:
Morgan McMillian 2021-04-04 15:01:40 -07:00
parent 8fbc7fb023
commit 0906664b54

6
.vimrc
View file

@ -31,9 +31,9 @@ highlight lineNr ctermfg=grey cterm=italic
" test out some other things " test out some other things
autocmd BufRead,BufNewFile ~/tmp/post setlocal spell spelllang=en_us wrap autocmd BufRead,BufNewFile ~/tmp/post setlocal spell spelllang=en_us wrap
autocmd FileType h setlocal noet ts=4 sw=4 autocmd FileType h setlocal et ts=4 sw=4
autocmd FileType c setlocal noet ts=4 sw=4 autocmd FileType c setlocal et ts=4 sw=4
autocmd FileType cpp setlocal noet ts=4 sw=4 autocmd FileType cpp setlocal et ts=4 sw=4
autocmd FileType go setlocal noet ts=4 sw=4 autocmd FileType go setlocal noet ts=4 sw=4
autocmd FileType mail setlocal noautoindent spell spelllang=en_us autocmd FileType mail setlocal noautoindent spell spelllang=en_us
autocmd FileType python setlocal et ts=4 sw=4 autocmd FileType python setlocal et ts=4 sw=4