X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5241d5e70cfb32049a65c30dbdcdf49a130459d7..b59e03e7dfdb3f217e08585a87a1eae35fc74208:/vim/ftplugin/cpp.vim?ds=sidebyside diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index 16ffc97..7fd300c 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -1 +1,6 @@ setlocal foldmethod=syntax + +augroup fswitch + au BufEnter *.h let b:fswitchdst = 'cpp,c' + au BufEnter *.h let b:fswitchlocs = 'reg:/include/source/' +augroup END