From: Samir Benmendil Date: Sun, 17 Jan 2021 23:51:37 +0000 (+0000) Subject: vim/cpp: switch to .cc files too X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/5f86da4c7a08b25e28a9ed1c72d3ae1c931a1bde?ds=sidebyside vim/cpp: switch to .cc files too --- diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index c76f79b..807ef89 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -18,7 +18,7 @@ let b:load_doxygen_syntax = 1 augroup fswitch_cpp au! - au BufEnter *.h let b:fswitchdst = 'c,cpp' + au BufEnter *.h let b:fswitchdst = 'c,cpp,cc' au BufEnter *.h let b:fswitchlocs = '.,reg:|include.*|src|' au BufEnter *.hpp let b:fswitchdst = 'cpp,c' au BufEnter *.hpp let b:fswitchlocs = '.,reg:|include.*|src|'