This is cadscan specific, maybe I need a way to set project specific
settings:
- plugin?
- au /path/to/project/*.{h,cpp}?
- something else?
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 *.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:fswitchlocs = 'reg:/\Csource/include/'
augroup END
setlocal foldmethod=syntax