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

When using incline.nvim, an error always occurs when I close Neovim #352

Closed
tadashi-aikawa opened this issue May 18, 2024 · 3 comments · Fixed by #354
Closed

When using incline.nvim, an error always occurs when I close Neovim #352

tadashi-aikawa opened this issue May 18, 2024 · 3 comments · Fixed by #354
Assignees
Labels
bug Something isn't working in progress When an issue is being working on

Comments

@tadashi-aikawa
Copy link

Description

Thank you for the great plugin!

After upgrading to version 1.12.2, I consistently encounter an error when exiting Neovim.

This problem is likely related to the following issue.

#348

Steps to reproduce

  1. Install https://github.com/b0o/incline.nvim
  2. nvim
  3. :q
  4. Error
Error executing vim.schedule lua callback: ...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/wins.lua:53: Vim:E444: Cannot close last window
stack traceback:
	[C]: in function 'nvim_win_close'
	...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/wins.lua:53: in function 'close'
	...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/main.lua:449: in function <...re/nvim/lazy/no-neck-pain.nvim/lua/no-neck-pain/main.lua:425>

Expected behavior

Close Nvim without errors.

Environment

  • Neovim version: 0.9.5, 0.10.
  • no-neck-pain.nvim version: 1.12.2 (No error occurs in version 1.12.1.)
  • incline.nvim version: 16fc9c0
@shortcuts
Copy link
Owner

Hey there, thanks a lot for using the plugin and reporting the issue! I'm working on a fix right now, sorry for the issue

@shortcuts shortcuts self-assigned this May 18, 2024
@shortcuts shortcuts added bug Something isn't working in progress When an issue is being working on labels May 18, 2024
@shortcuts
Copy link
Owner

Hey, this should now be fixed in 1.22.3, feel free to let me know how it went!

@tadashi-aikawa
Copy link
Author

@shortcuts
Thank you for your prompt response! I have confirmed that the issue has been fixed👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working in progress When an issue is being working on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants