]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/cpp.vim
vim: add .hpp files to fswitch
[dotfiles.git] / 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