Use QuickFix for cscope.
dblume

dblume commited on 2022-03-10 17:16:51
Showing 1 changed files, with 3 additions and 1 deletions.

... ...
@@ -1,4 +1,4 @@
1
-" Version 2021-09-24.1 - Sort Quickfix list by filename
1
+" Version 2022-03-10.1 - Use Quickfix for cscope, add OpenCurrentAsNewTab 
2 2
 set nocompatible    " Use Vim defaults, forget compatibility with vi.
3 3
 set bs=2            " allow backspacing over everything in insert mode
4 4
 set wildmenu        " Allows command-line completion with tab
... ...
@@ -302,6 +302,8 @@ set omnifunc=syntaxcomplete#Complete
302 302
 if has("cscope")
303 303
     set cscopetag  " Use both cscope and ctag for 'ctrl-]'
304 304
     set csto=1     " 0=cscope first; 1=ctags first
305
+    set cscopequickfix=s-,c-,d-,i-,t-,e-,a- " cscope to quickfix window
306
+
305 307
     set nocsverb
306 308
     " add any database in current directory
307 309
     if filereadable("cscope.out")
308 310