some c++ project use .cc suffix
martianzhang opened this issue · 0 comments
martianzhang commented
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"
-
let cmd .= " -name *.c++ -or -name *.h++ -or"
-
let cmd .= " -name *.c++ -or -name *.cc -or -name *.h++ -or" let cmd .= " -name *.cxx -or -name *.hxx -or" let cmd .= " -name *.cpp -or -name *.hpp" let cmd .= " -type f"