From 2acd6476ec74d9b379d1c95c33b3068827eed743 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Mon, 24 Oct 2016 08:54:40 +0100 Subject: [PATCH] vim: add .hpp files to fswitch --- vim/ftplugin/cpp.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index af391a1..7631f49 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -17,7 +17,7 @@ let b:load_doxygen_syntax = 1 augroup fswitch au BufEnter *.h let b:fswitchdst = 'cpp,c' au BufEnter *.h let b:fswitchlocs = 'reg:|include.*|source|' - au BufEnter *.cpp let b:fswitchdst = 'h' + au BufEnter *.cpp let b:fswitchdst = 'hpp,h' au BufEnter *.cpp let b:fswitchlocs = 'reg:|source|include/**|' augroup END -- 2.48.1