ludovicchabant/vim-gutentags

gutentags: gtags-cscope job failed, returned: 1

ztoiax opened this issue · 2 comments

my configure

"from 韦易笑
let $GTAGSLABEL = 'native-pygments'
let $GTAGSCONF = '/usr/local/share/gtags/gtags.conf'
" enable gtags module
let g:gutentags_modules = ['ctags', 'gtags_cscope']

" config project root markers.
let g:gutentags_project_root = ['.root']

" generate datebases in my cache directory, prevent gtags files polluting my project
let g:gutentags_cache_dir = expand('~/.cache/tags')

" change focus to quickfix window after search (optional).
let g:gutentags_plus_switch = 1

Please enable logging (call gutentags#toggletrace()) and post the output so we can troubleshoot.

I found that gtags does not use -L options and thus cause problem, temporarily I revert the following commit to let gtags work.
"gtags support gutentags_file_list_cmd".