]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ftplugin/cpp.vim
Merge branch 'cadscan' (early part)
[dotfiles.git] / vim / ftplugin / cpp.vim
index 23503b8ef1b861a28b36653459fd5d2b15df485f..faa7395e7366cc2ec9924b413aea94c1ee6e4952 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