lsp.lua:236: bad argument #1 to 'ipairs' (table expected, got nil) #462
-
Before filing a bug report, I just want to check if this has been observed by anyone else and if there is a known fix (that I can't find). When opening "LSP references/definitions ...(Trouble)" in a .cpp file, I get the following stacktrace shown to me. The references window is still shown, but the error is repeated as I move my cursor around the source file, I''m using My entire nvim config can be found here
Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
folke
May 31, 2024
Replies: 1 comment 1 reply
-
I added some extra nil checks for invalid lsp results |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
PerMalmberg
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added some extra nil checks for invalid lsp results