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

bug v3: Preview.lua: Invalid end_col: out of range #404

Closed
3 tasks done
RomaLzhih opened this issue Mar 31, 2024 · 2 comments
Closed
3 tasks done

bug v3: Preview.lua: Invalid end_col: out of range #404

RomaLzhih opened this issue Mar 31, 2024 · 2 comments
Labels

Comments

@RomaLzhih
Copy link

Did you check docs and existing issues?

  • I have read all the trouble.nvim docs
  • I have searched the existing issues of trouble.nvim
  • 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:
Weixin Screenshot_20240331024634
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

@pidgeon777
Copy link

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

@folke
Copy link
Owner

folke commented May 12, 2024

Should be fixed now.

@folke folke closed this as completed May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants