the use of .guttags file
MrGeek-zrh opened this issue · 1 comments
Gutentags is a very useful plugin, and I pretty appreciate the author's efforts. I've encountered some issues recently.
What I want to achieve is to run the 'ctags' command with specific options like ctags -f .tags -R --exclude=./src/isa/loongarch32r/* --exclude=./src/isa/mips32/* ./
in the project root directory. So, I created a .gutctags
file in the project's root directory with the following content:
-R
--exclude=src/isa/loongarch32r/*
--exclude=src/isa/mips32/*
--exclude=src/isa/riscv64/*
I've looked at other issues related to the use of the .gutctags
file, and when I execute the command mentioned in issue #126
, :call gutentags#toggletrace()
, and :GutentagsUpdate!
, I get some similar output as mentioned in issue #126
, including the -o option being passed to .guttags with some paths. When I execute :echo b:gutentags_root
, the result indicates that the current project's root directory is the same as I expected.
However, when I open the project with Vim and execute :ts
pattern to search for tags, files from the directories I want to exclude still appear.
Maybe they exist in the tags file before?