$ brew info universal-ctags
universal-ctags: stable p5.9.20220515.0 (bottled), HEAD
$ ctags --version
Universal Ctags 5.9.0, Copyright (C) 2015-2022 Universal Ctags Team
Universal Ctags is derived from Exuberant Ctags.
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: May 15 2022, 05:44:02
URL: https://ctags.io/
Optional compiled features: +wildcards, +regex, +gnulib_fnmatch, +gnulib_regex, +iconv, +option-directory, +xpath, +json, +interactive, +yaml, +case-insensitive-filenames, +packcc, +optscript
Describe the bug
Recently, I started consistently seeing the following error when exiting vim:
Steps to reproduce
vim .:q(within 1-2 seconds of starting vim)Share your setup
What OS and version of Vim are you using? macOS Monterey 12.3.1
What version of
ctags,gtags, or whatever do you have installed?Are you using
g:gutentags_cache_dir? NoPost the logs
:let g:gutentags_trace = 1.:messagesand show the messages that Gutentags posted.tags.logfile that Gutentags' script left behind, and post its contents.Note: Can't see error in
:messagesbecause error only occurs on exit & notags.logfile gets left behind after enabling trace and exiting vim.Additional context
This started occuring after updating vim-gutentags to latest commit (May 12).
I am also able to replicate this issue on the previous commit (May 12), which introduces
gutentags#on_vim_leave()for Windows.Workaround: this is latest commit (Feb 25) that does not reproduce the issue for me. Downgrading to this commit is the suggested temporary workaround.