trouble.nvim
trouble.nvim copied to clipboard
bug v3: Preview.lua: Invalid `end_col`: out of range
Did you check docs and existing issues?
- [X] I have read all the trouble.nvim docs
- [X] I have searched the existing issues of trouble.nvim
- [X] I have searched the existing issues of plugins related to this issue
Neovim version (nvim -v)
0.9.5
Operating system/version
Centos 8
Describe the bug
When using clangd as the LSP and toggling the trouble using <cmd>Trouble diagnostics toggle<cr>, any touch of the quicklist would throw many error messages as below:
However, this issue may not appear in other LSPs, i.e., the
pyright for python.
Related issue here and here.
Steps To Reproduce
My config is available here.
You can open a cpp file with some diagnostic then it should appear.
Expected Behavior
There should be no error messages.
Repro
No response
I also have the same error with a different VHDL LSP:
...nvim-data/lazy/trouble.nvim/lua/trouble/view/preview.lua:67: Invalid 'end_row': out of range
Should be fixed now.
still running into this.
@OneOfOne can you give me a trace or repro on when you get this?
@folke I can't get a constant repro right now, it's absolutely random, sometimes I'd be editing a file and I get spammed with it, sometimes doesn't even happen for a day.
ok, next time, can you please drop the exact error line(s) you see?