ludovicchabant/vim-gutentags

Error after writing file and quiting nvim

gitaarik opened this issue · 1 comments

Describe the bug
When I write a file and exit nvim with :wq, I get an error in the shell after nvim closes.

Steps to reproduce

  1. Open a file with nvim in a project with a tags file (it has to be nvim, with vim I can't reproduce).
  2. Write and close the file with :wq (without the write I can't reproduce).
  3. The errors will be shown in the shell after nvim exited.

Share your setup

  • What OS and version of Vim are you using?
    • Ubuntu 20.04.3 LTS
    • NVIM v0.5.1
  • What version of ctags, gtags, or whatever do you have installed?
    • Universal Ctags 5.9.0
  • Are you using g:gutentags_cache_dir?
    • No

Post the logs

I get this error in my shell after nvim exits:

Error detected while processing DirChanged Autocommands for "*":
E475: Invalid argument: Channel doesn't exist
E475: Invalid argument: Channel doesn't exist
Error detected while processing function <SNR>143_nvim_job_exit_wrapper[1]..gutentags#ctags#on_job_exit[1]..gutentags#remove_job_by_data[2]..gutentags#remove_job:
line   22:
E171: Missing :endif%

This seems like a duplicate of #269. It has some activity, but it is not resolved.