From b2478f3cdffa48078d664cfc3d3f9d86e3c178fd Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Tue, 29 Sep 2020 18:44:58 -0600 Subject: [PATCH] Changed cpp to use spaces instead of tabs --- vim/file_formatting.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/file_formatting.vim b/vim/file_formatting.vim index b32df6e..1f9ff26 100644 --- a/vim/file_formatting.vim +++ b/vim/file_formatting.vim @@ -3,7 +3,7 @@ augroup filetype_specific_formatting autocmd! autocmd FileType python setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 autocmd FileType java setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 - autocmd FileType cpp setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab foldmethod=indent foldlevel=99 + autocmd FileType cpp setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 autocmd FileType cs setlocal tabstop=4 softtabstop=4 shiftwidth=4 expandtab foldmethod=indent foldlevel=99 autocmd FileType html setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=indent foldlevel=99 autocmd FileType javascript setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab foldmethod=indent foldlevel=99