jingle
deepin
2016-07-12 01:39 好的,我反馈下,看能否能解决。
Reply Like 0 View the author
https://bbs.deepin.org/post/41398
好的,我反馈下,看能否能解决。
https://bbs.deepin.org/post/41398
vim 中执行命令需要这样用 exec "!cscope add cscope.out"
https://bbs.deepin.org/post/41398
好的,我反馈下,看能否能解决。
https://bbs.deepin.org/post/41398
你可以先测试下你的那条语句是否执行,如果执行了再去找执行无效的问题。 ...
Popular Ranking
ChangePopular Events
More
需要手动运行:cs add cscope.out 才能正常使用
.vimrc中 cscope 相关配置如下:
"Settings for cscope
if has("cscope")
if filereadable("/usr/bin/cscope")
set csprg=/usr/bin/cscope " specify which cscope to be used
elseif filereadable("/usr/local/bin/cscope")
set csprg=/usr/local/bin/cscope " specify which cscope to be used
endif
set csto=0 " 0 means search cscope database first, then search tags file
set cst " use |:cstag|(:cs find g), not default :tag
set nocsverb " do not show if database is added successful
" add any database in current directory
if filereadable("cscope.out")
cscope add cscope.out " add cscope database
" else add database pointed to by environment
elseif $CSCOPE_DB != ""
cscope add $CSCOPE_DB
endif
set csverb " show if database is added successful
endif