aboutsummaryrefslogtreecommitdiff
path: root/helix-tui/src/widgets
diff options
context:
space:
mode:
authorMichael Davis2023-03-08 01:50:57 +0000
committerGitHub2023-03-08 01:50:57 +0000
commit170593161cb23edc433d937eb62a9b8fd76bd339 (patch)
treeb126e9bed647e91c7086a51050a43ed4f324c8d7 /helix-tui/src/widgets
parent563ac1a3cb7e909b345cf5c892c3bcf39b2e32a4 (diff)
LSP: Send replies for malformed and unhandled RPC requests (#6058)
Previously we did not respond to malformed or unhandled LSP requests. The JSONRPC spec says that all non-notification requests must have responses: > When a rpc call is made, the Server MUST reply with a Response, > except for in the case of Notifications (Note that Helix is the "Server" in this case. Also from the spec: "The Server is defined as the origin of Response objects and the handler of Request objects.") So this change sends error replies for requests which can't be parsed or handled. Request IDs are also now added to the log messages for unhandled requests.
Diffstat (limited to 'helix-tui/src/widgets')
0 files changed, 0 insertions, 0 deletions