X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/f74f72fd2127b8546ddec334cd0b96ceecdf24b5..refs/heads/lazyvim:/vim/indent/cpp.vim diff --git a/vim/indent/cpp.vim b/vim/indent/cpp.vim index d764fa4..d363553 100644 --- a/vim/indent/cpp.vim +++ b/vim/indent/cpp.vim @@ -55,15 +55,8 @@ function! GoogleCppIndent() return l:orig_indent endfunction -setlocal shiftwidth=4 -setlocal tabstop=4 -setlocal softtabstop=4 -setlocal expandtab -setlocal textwidth=80 - -setlocal cindent -setlocal cinoptions=l1,g0,t0,i4,+4,(0,w1,W4 - setlocal indentexpr=GoogleCppIndent() let b:undo_indent = "setl sw< ts< sts< et< tw< wrap< cin< cino< inde<" + +setlocal textwidth=100