Linwei
Linwei
能不能把格式弄好点?直接这么帖代码看着真费劲。
换成 vim-plug,别用 pathogen 了
Plug 'skywind3000/gutentags_plus' 是 vim-plug 的写法,pathogen 下怎么用我不知道,但是 pathogen 真的是上个世纪的东西了。
找不到 gtags-cscope 这个可执行程序啊,你的这个文件在哪里呢?
请使用 https://github.com/skywind3000/vim-gutentags 自动生成 gtags 文件,而不是用 leaderf 的。
gtags can't generate database for your project, you have to check the error output from gtags step 1: allow advanced commands: ```VimL let g:gutentags_define_advanced_commands = 1 ``` step 2: Enable...
文章底部有详细的错误排查方法: https://zhuanlan.zhihu.com/p/36279445
Please run ```VimL :messages ``` after that error (make sure the gutentags trace has been enabled), you may see the gtags error output.
I have a PR for this: https://github.com/ludovicchabant/vim-gutentags/pull/336 But still unmerged. You can simply use my fork: https://github.com/skywind3000/vim-gutentags
你在出现那个错误后执行一下: :echo $GTAGSROOT 以及: :echo $GTAGSDBPATH 看看什么输出。