X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d8a4be5d3f2691d8948919bc1e32f58cbfaf1a2e..99ab36799daa2c68e08d737ed7a75ee9214d3635:/vim/ftplugin/cpp.vim diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index fabf6b9..4d54b7b 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -14,13 +14,6 @@ setlocal cinoptions+=:0 " don't indent case labels " Load the doxygen syntax let b:load_doxygen_syntax = 1 -augroup fswitch - au BufEnter *.hpp let b:fswitchdst = 'cpp,c' - au BufEnter *.hpp let b:fswitchlocs = 'reg:|include.*|src|' - au BufEnter *.cpp let b:fswitchdst = 'hpp,h' - au BufEnter *.cpp let b:fswitchlocs = 'reg:|src|include/**|' -augroup END - let g:switch_const_definitions = \ [ { \ '\%(const \)\@!\([[:alnum:]_:<>]\{-}\) \%(&\)\@!': 'const \1 ',