Commits

Anonymous committed 9182378

load on .cpp and .hpp, too

Comments (0)

Files changed (1)

vim/plugin/autoload_cscope.vim

  au!
  au BufEnter *.[chlyS]  call <SID>Cycle_csdb() | call <SID>Cycle_macros_menus()
  au BufEnter *.cc       call <SID>Cycle_csdb() | call <SID>Cycle_macros_menus()
+ au BufEnter *.[ch]pp   call <SID>Cycle_csdb() | call <SID>Cycle_macros_menus()
  au BufEnter *.cdl      call <SID>Cycle_csdb() | call <SID>Cycle_macros_menus()
  au BufUnload *.[chlyS] call <SID>Unload_csdb() | call <SID>Cycle_macros_menus()
  au BufUnload *.cc      call <SID>Unload_csdb() | call <SID>Cycle_macros_menus()
+ au BufUnload *.[ch]pp  call <SID>Unload_csdb() | call <SID>Cycle_macros_menus()
  au BufUnload *.cdl     call <SID>Unload_csdb() | call <SID>Cycle_macros_menus()
 augroup END