Describe the bug
Setting named setting (which should be default) doesn't seem to be working. I have a git repo that has a symlink that points to a directory in a homedir;
opening a file in said repo triggers tags generation, and I can see projects from the symlink are resolved, resulting into tag file of multiple hundred lines long.
Steps to reproduce
Have a project similar to this:
/path/to/my/project
▸ backups/
▸ configs/
▾ home/
▸ bin/
▾ dev/ -> /data/dev/
▸ projects/ <-- this contains loads of directories that'll get processed
Open a file in /path/to/my/project (that's not on a symlinked path when looking from /path/to/my/project)
/path/to/my/project/.tags will contain tags from projects under /data/dev/projects
Share your setup
debian buster, NVIM v0.2.0-780-g087acd79
Exuberant Ctags Version 5.9~svn20110310
Are you using g:gutentags_cache_dir?: nope
Post the logs
Run :let g:gutentags_trace = 1.
Reproduce the bug.
Run :messages and show the messages that Gutentags posted.
gutentags: [job output]: ['ctags: Warning: cannot open source file "home/dev/projects/some_project/node_modules" : No such file or directory', '']
which demonstrates it is trying to resolve symlinks.
Note the path in that warning is /home/dev not /data/dev, because /path/to/my/project is a homeshick castle (everything under ./home/ will be symlinked from ~ for easier dotfile management)
Look for the tags.log file that Gutentags' script left behind, and post its contents.
Generation takes ages, no `.tags.log' yet.
All my plugin config is
let g:gutentags_trace=1
let g:gutentags_ctags_tagfile = '.tags'
let g:gutentags_resolve_symlinks=0
Describe the bug Setting named setting (which should be default) doesn't seem to be working. I have a git repo that has a symlink that points to a directory in a homedir; opening a file in said repo triggers tags generation, and I can see projects from the symlink are resolved, resulting into tag file of multiple hundred lines long.
Steps to reproduce
Have a project similar to this:
Open a file in
/path/to/my/project
(that's not on a symlinked path when looking from/path/to/my/project
)/path/to/my/project/.tags
will contain tags from projects under/data/dev/projects
Share your setup
g:gutentags_cache_dir
?: nopePost the logs
:let g:gutentags_trace = 1
.:messages
and show the messages that Gutentags posted.Also bunch of lines like
which demonstrates it is trying to resolve symlinks. Note the path in that warning is
/home/dev
not/data/dev
, because/path/to/my/project
is a homeshick castle (everything under ./home/ will be symlinked from~
for easier dotfile management)tags.log
file that Gutentags' script left behind, and post its contents. Generation takes ages, no `.tags.log' yet.All my plugin config is