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
gutentags_plus could not find the definition, but gutentags_plus can find the reference.
already set export GTAGSFORCECPP= in ~/.bashrc
GTAGS GPATH GRTAGS is normal.
try following debug way, message shows gutentags: Tracing is enabled.
gutentags: [job stderr]: 'ctags: Notice: Terminate parsing: too deep brackets recursion in ***'
ctags version: ctags --version Universal Ctags 5.9.0(p5.9.20211114.0), Copyright (C) 2015 Universal Ctags Team Universal Ctags is derived from Exuberant Ctags. Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert Compiled: Nov 16 2021, 14:19:34 URL: https://ctags.io/ Optional compiled features: +wildcards, +regex, +gnulib_regex, +iconv, +option-directory, +packcc, +optscript
global version: global (Global) 6.6.7 Powered by Berkeley DB 1.85. Copyright (c) 1996-2021 Tama Communications Corporation License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
vimrc
Plug 'skywind3000/gutentags_plus'
" 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
let g:gutentags_ctags_tagfile = '.tags'
" 同时开启 ctags 和 gtags 支持:
let g:gutentags_modules = []
if executable('ctags')
let g:gutentags_modules += ['ctags']
endif
if executable('gtags-cscope') && executable('gtags')
let g:gutentags_modules += ['gtags_cscope']
endif
" 将自动生成的 ctags/gtags 文件全部放入 ~/.cache/tags 目录中,避免污染工程目录
let g:gutentags_cache_dir = expand('~/.cache/tags')
" 配置 ctags 的参数,老的 Exuberant-ctags 不能有 --extra=+q,注意
let g:gutentags_ctags_extra_args = ['--fields=+niazS', '--extra=+q']
let g:gutentags_ctags_extra_args += ['--c++-kinds=+px']
let g:gutentags_ctags_extra_args += ['--c-kinds=+px']
" 如果使用 universal ctags 需要增加下面一行,老的 Exuberant-ctags 不能加下一行
let g:gutentags_ctags_extra_args += ['--output-format=e-ctags']
" 禁用 gutentags 自动加载 gtags 数据库的行为
let g:gutentags_auto_add_gtags_cscope = 0
The text was updated successfully, but these errors were encountered:
gutentags_plus could not find the definition, but gutentags_plus can find the reference.
already set
export GTAGSFORCECPP=
in ~/.bashrcGTAGS GPATH GRTAGS is normal.
![image](https://user-images.githubusercontent.com/3445470/141946278-48bb725c-bc7a-4e9c-b6c5-1f3d61761476.png)
try following debug way, message shows gutentags: Tracing is enabled.
gutentags: [job stderr]: 'ctags: Notice: Terminate parsing: too deep brackets recursion in ***'
ctags version:
ctags --version Universal Ctags 5.9.0(p5.9.20211114.0), Copyright (C) 2015 Universal Ctags Team Universal Ctags is derived from Exuberant Ctags. Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert Compiled: Nov 16 2021, 14:19:34 URL: https://ctags.io/ Optional compiled features: +wildcards, +regex, +gnulib_regex, +iconv, +option-directory, +packcc, +optscript
global version:
global (Global) 6.6.7 Powered by Berkeley DB 1.85. Copyright (c) 1996-2021 Tama Communications Corporation License GPLv3+: GNU GPL version 3 or later <http://www.gnu.org/licenses/gpl.html> This is free software; you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.
vimrc
The text was updated successfully, but these errors were encountered: