Closed silby closed 6 months ago
Can you try changing the second parameter to null
in https://github.com/yegappan/lsp/blob/main/autoload/lsp/handlers.vim#L193?
Yes, that change makes HLS cease complaining, I see this debug transcript and no error from the language server:
02/20/24 23:02:15: Received {'id': 2, 'jsonrpc': '2.0', 'method': 'window/workDoneProgress/create', 'params': {'token': '18'}}
02/20/24 23:02:15: Sent {'id': 2, 'jsonrpc': '2.0', 'result': null}
I have committed https://github.com/yegappan/lsp/commit/a4cdb9c723d83664fbad70ae070ea569459a2400 now to add this. Let me know if you see any additional issues with the latest plugin.
Per the specification:
haskell-language-server
complains when it gets an empty object instead.LSP debug message transcript:
haskell-language-server
complaint:It would be more compliant with the spec to send
"result": null
here.