X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/5241d5e70cfb32049a65c30dbdcdf49a130459d7..51d50d3d902bdda4345c042f68aa67c13b65d3fc:/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