erig0 / cscope_dynamic

Automatic dynamic cscope updates for Vim
25 stars 12 forks source link

some c++ project use .cc suffix #1

Closed martianzhang closed 8 years ago

martianzhang commented 8 years ago

such project like mysql-server, whose main function in main.cc file.

diff --git a/plugin/cscope_dynamic.vim b/plugin/cscope_dynamic.vim index a545886..63997cf 100644 --- a/plugin/cscope_dynamic.vim +++ b/plugin/cscope_dynamic.vim @@ -183,7 +183,7 @@ function! s:dbUpdate() " Do the find command a 'portable' way let cmd .= "find ".src_dirs." -name .c -or -name .h -or" let cmd .= " -name .C -or -name .H -or"