X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5241d5e70cfb32049a65c30dbdcdf49a130459d7..d7cc13e38b861c92f3ee383aca22abc52847b298:/vim/ftplugin/cpp.vim 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