commit 6fd236ee853bc3f5ab2baa29ad55e9095c2032ce parent 1f8115b72d2d2d4d265fcb17ca51963b406738f8 Author: Alex Balgavy <alex@balgavy.eu> Date: Sat, 1 May 2021 14:16:00 +0200 vim: follow google conventions for C++ Diffstat:
A | vim/after/ftplugin/cpp.vim | | | 7 | +++++++ |
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/vim/after/ftplugin/cpp.vim b/vim/after/ftplugin/cpp.vim @@ -0,0 +1,7 @@ +" According to Google Style Guide +" https://google.github.io/styleguide/cppguide.html +setlocal expandtab shiftwidth=2 softtabstop=2 tabstop=8 + +let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') +let b:undo_ftplugin .= 'setlocal expandtab< shiftwidth< softtabstop< tabstop<' +