vim-nerdtree-tabs
vim-nerdtree-tabs copied to clipboard
nerdtree-tabs seems to break VimLeave in neovim
If I use the following init.vim
call plug#begin('~/.config/nvim/plugged')
Plug 'scrooloose/nerdtree'
Plug 'jistr/vim-nerdtree-tabs'
call plug#end()
autocmd vimenter * NERDTreeToggle
autocmd VimLeave * :!touch /tmp/vimleave
And open a file, focus on the file pane (as opposed to the NERDTree pane) and do :q then /tmp/vimleave is never created. If I do :qa instead then it is created. Also, if I simply comment out the Plug 'jistr/vim-nerdtree-tabs' line it will also be created no matter how I close vim. So it seems the nerdtree-tabs suppresses VimLeave in some weird way. Let me know if there's anything else you need to help debug this, thanks!
I'm seeing this as well.
Same behaviour here.
What is the best workaround for this currently? Other than periodically killing off the processes.
I made a tiny investigation. The problem in this part of the code.
Invoking of q suppress VimLeave. #92 should fix this without repeat of #84
Thanks @Felixoid . Any folks willing to test PR #92 whether it also fixes this issue for them without hitting #84?
As the readme states, i'm no longer actively mainaining this project (i don't use vim anymore), but i can merge the PR if others are willing to test it.
@jistr Let's merge, maybe? Nobody complains at least =)
@Felixoid alright.