Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sayonara closes (n)vim like there is no listed buffers when calling it from popups #24

Open
msva opened this issue Oct 29, 2022 · 0 comments

Comments

@msva
Copy link

msva commented Oct 29, 2022

Hi there!
I've found that if there is active notification popup, created by nvim-notify, and I call Sayonara, it (Sayonara) just quits nvim as if there was no opened buffers.

I previously reported that to nvim-notify (here is a link o the issue: rcarriga/nvim-notify#147 ), and I wrote there that I think it can be related to unlisted buffers that popup creates, but I'm not sure.

And here is a asciinema recording showing the issue: https://asciinema.org/a/YhWFoYswb9CebKwtnRfOhEu4e

At #1 I just pressing "q" which is mapped to <cmd>Sayonara<CR>, and Sayonara closes buffers (as expected).
At #2 I firstly call notify to create a notification pupup, and then call Sayonara and it closes the whole nvim instance instead of just current active buffer...

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

No branches or pull requests

1 participant