You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to use ccls with spacemacs, but everytime I put a cursor on line with error I receive:
LSP :: invalid params of textDocument/codeAction: expected array for /context/diagnostics[0]/relatedInformation [N times] (N is a count of how many times I put a cursor on line with the error).
Your lsp-mode may be older than emacs-lsp/lsp-mode#691 . Before that an empty JSON array was (de)serialized as nil. That badly conflicted with the JSON null.
I suspect "relatedInformation":[] (from textDocument/publishDiagnostics) was deserialized as (:relatedInformation nil), and then it was passed around as "relatedInformation": null by lsp-execute-code-action. That was incorrect. The spec says:
Hi there!
I've tried to use ccls with spacemacs, but everytime I put a cursor on line with error I receive:
LSP :: invalid params of textDocument/codeAction: expected array for /context/diagnostics[0]/relatedInformation [N times]
(N is a count of how many times I put a cursor on line with the error).This is my system env, hope it helps:
I can also provide any important information if you need.
Thanks!
The text was updated successfully, but these errors were encountered: