folke / trouble.nvim

🚦 A pretty diagnostics, references, telescope results, quickfix and location list to help you solve all the trouble your code is causing.
Apache License 2.0
5.15k stars 173 forks source link

bug: Neovim crashes when you close all other windows #378

Closed wojciech-kulik closed 3 months ago

wojciech-kulik commented 4 months ago

Did you check docs and existing issues?

Neovim version (nvim -v)

v0.9.5

Operating system/version

macOS 14.2.1

Describe the bug

Neovim crashes when you close the only other window

Steps To Reproduce

  1. Have just one window
  2. Open Trouble
  3. Call :close in the not-Trouble window

Expected Behavior

The window is closed, and Trouble is expanded.

Repro

No response

folke commented 3 months ago

Development on the main branch is EOL.

Trouble has been rewritten and will be merged in main soon.

This issue/feature either no longer exists or has been implemented on dev.

For more info, see https://github.com/folke/trouble.nvim/tree/dev