Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

nerdtree-tabs seems to break VimLeave in neovim #76

Open
mediocregopher opened this issue Apr 25, 2016 · 7 comments
Open

nerdtree-tabs seems to break VimLeave in neovim #76

mediocregopher opened this issue Apr 25, 2016 · 7 comments

Comments

@mediocregopher
Copy link

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!

@erahhal
Copy link

erahhal commented Dec 21, 2016

I'm seeing this as well.

@qazip
Copy link

qazip commented May 6, 2017

Same behaviour here.

@gainhagenau
Copy link

What is the best workaround for this currently? Other than periodically killing off the processes.

@Felixoid
Copy link
Contributor

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

@jistr
Copy link
Owner

jistr commented Apr 8, 2018

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.

@Felixoid
Copy link
Contributor

@jistr Let's merge, maybe? Nobody complains at least =)

@jistr
Copy link
Owner

jistr commented May 5, 2018

@Felixoid alright.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants