Open m0tholith opened 2 months ago
Yeah, I never got around to publishing diagnostics to the client, even though we collect them during parsing.
Diagnostics are published as a LSP notification from the server to the client, and so far this isn't implemented, and thus would need some work (altough, likely not that much).
With that implemented, we could send notifications upon receiving a textDocument/didChange
or textDocument/didOpen
request from the client. But we probably need some mechanism for queuing notifications, so that we don't send the notification until after having responded to the initial request.
I probably won't have the time to work on this for a while, but PRs are always welcome.
Diagnostics don't really work on Neovim. Completion, documentation and everything else works well, attached is my LSP logfile: lsp.log