cpp.vim (300B)
1 " According to Google Style Guide 2 " https://google.github.io/styleguide/cppguide.html 3 setlocal expandtab shiftwidth=2 softtabstop=2 tabstop=8 4 5 let b:undo_ftplugin = (exists('b:undo_ftplugin') ? b:undo_ftplugin.'|' : '') 6 let b:undo_ftplugin .= 'setlocal expandtab< shiftwidth< softtabstop< tabstop<' 7