]> git.rmz.io Git - dotfiles.git/commitdiff
vim: add .hpp files to fswitch
authorSamir Benmendil <samir.benmendil@ultrahaptics.com>
Mon, 24 Oct 2016 07:54:40 +0000 (08:54 +0100)
committerSamir Benmendil <samir.benmendil@ultrahaptics.com>
Mon, 24 Oct 2016 07:54:40 +0000 (08:54 +0100)
vim/ftplugin/cpp.vim

index af391a13f56976ff8d3e2b7c0b40abd6c348bf5b..7631f49a966d5f5268b84e008f1f657ea7cd3a52 100644 (file)
@@ -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