Open
Description
Problem
When Q LSP returns an error, it includes a code
field.
Example:
[DEBUG][2025-02-20 07:08:49] .../vim/lsp/rpc.lua:393 "rpc.receive" { error = { code = -32800, message = "Request cancelled." }, id = 2, jsonrpc = "2.0" }
But the client doesn't have a mapping of these codes.
Expected behavior
Either document the codes, or perhaps send a mapping (dictionary) of name:code in the initialize response?
Activity