Open foreverLoveWisdom opened 4 years ago
Gutentags should work perfectly fine if there's no tags
file initially. What file are you saving that makes it complain? Can you also enable logging (call gutentags#toggletrace()
) and post the output?
I was having the same issue with the exit code of 1.
I only had this problem in Ubuntu. My macOS install via brew was OK.
I could find nothing wrong in vim-gutentags. I then started running the ctags
command by hand. There is a way to echo a debug message when your config file is loaded. I tried it and noticed mine never output the debug message. I then manually did --options=my-config-file.ctags
and was getting permission denied error even though they were right.
I uninstalled universal-ctags via snap and built from source. All problems resolved.
I am using Vimwiki, and accidentally created
tags
file in my folder. I deleted thetags
file, now whenever I save the file, I get that error. I guess because gutentags is looking for thetags
file but it can't find it. I have tried to exclude thewiki
file but still get the error. Here is my configuration in Neovim: