From c4f4805e17602f880301fa6a580f44f829139427 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Tue, 15 Sep 2020 13:26:50 -0600 Subject: [PATCH] Included cpp file formatting --- vim/file_formatting.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/vim/file_formatting.vim b/vim/file_formatting.vim index 6785931..32f2d95 100644 --- a/vim/file_formatting.vim +++ b/vim/file_formatting.vim @@ -3,6 +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 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