You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cscope does not work when open a file from startify, show Error "Type number and (q or empty cancels): 1E429: File "include/linux/mm.h" does not exist"
cscope config in init.vim as follow:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" cscope setting
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if has("cscope")
set csto=1
set cst
set nocsverb
" add any database in current directory
set tags=tags;
if filereadable("cscope.out")
cs add cscope.out
else
let cscope_file=findfile("cscope.out",".;")
let cscope_pre=matchstr(cscope_file,".*/")
if !empty(cscope_file)&&filereadable(cscope_file)
exe "cs add" cscope_file cscope_pre
endif
endif
set csverb
endif
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Ctags_Cmd="/usr/bin/ctags"
let Tlist_Auto_Open=1
"set cscopequickfix=s-,c-,d-,i-,t-,e-
nmap cs :cs find s =expand("")
nmap cg :cs find g =expand("")
nmap cc :cs find c =expand("")
nmap ct :cs find t =expand("")
nmap ce :cs find e =expand("")
nmap cf :cs find f =expand("")
nmap ci :cs find i =expand("")$
nmap cd :cs find d =expand("")
The text was updated successfully, but these errors were encountered:
cscope does not work when open a file from startify, show Error "Type number and (q or empty cancels): 1E429: File "include/linux/mm.h" does not exist"
as follow:
https://raw.githubusercontent.com/zaiqiang-dong/misc/898eedc33cee488ea613b01b12d28c3c160f0989/termtosvg_3w1o_9oc.svg
cscope config in init.vim as follow:
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" cscope setting
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
if has("cscope")
set csto=1
set cst
set nocsverb
" add any database in current directory
set tags=tags;
if filereadable("cscope.out")
cs add cscope.out
else
let cscope_file=findfile("cscope.out",".;")
let cscope_pre=matchstr(cscope_file,".*/")
if !empty(cscope_file)&&filereadable(cscope_file)
exe "cs add" cscope_file cscope_pre
endif
endif
set csverb
endif
let Tlist_Show_One_File=1
let Tlist_Exit_OnlyWindow=1
let Tlist_Ctags_Cmd="/usr/bin/ctags"
let Tlist_Auto_Open=1
"set cscopequickfix=s-,c-,d-,i-,t-,e-
nmap cs :cs find s =expand("")
nmap cg :cs find g =expand("")
nmap cc :cs find c =expand("")
nmap ct :cs find t =expand("")
nmap ce :cs find e =expand("")
nmap cf :cs find f =expand("")
nmap ci :cs find i =expand("")$
nmap cd :cs find d =expand("")
The text was updated successfully, but these errors were encountered: