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.36k stars 175 forks source link

bug: Opening Trouble crashes Neovim #303

Closed MariaSolOs closed 1 year ago

MariaSolOs commented 1 year ago

Did you check docs and existing issues?

Neovim version (nvim -v)

v0.10.0-dev-629+gb2e8c0df2

Operating system/version

Mac Ventura 13.4.1

Describe the bug

When opening Trouble on nightly, Neovim crashes and a "Process exited with error code 134" error is displayed in the terminal.

Steps To Reproduce

  1. Open any file with the latest nightly release of Neovim.
  2. Open Trouble.

Expected Behavior

For Trouble (and Neovim) to not crash :)

MariaSolOs commented 1 year ago

After several hours of debugging, I discovered that this was caused by my folding ranges configuration. Adding ft_ignore = { 'trouble' } to my statuscol settings fixed, although I'm quite confused as to what changed, since I haven't recently updated those extensions...

folke commented 1 year ago

Plugins can't really crash Neovim, that's always due to bugs in Neovim itself. So maybe due to a recent Neovim change?

MariaSolOs commented 1 year ago

Plugins can't really crash Neovim, that's always due to bugs in Neovim itself. So maybe due to a recent Neovim change?

Yeah, I can only reproduce it on nightly when statuscol is enabled.

MariaSolOs commented 1 year ago

I’m now paranoid of this mysterious issue appearing again :(