The protocol indicates that the response to the textDocument/diagnostic request is a proper DiagnosticReport, yet certain language servers return null as a response (like the Ruby language server).
Initially one would blame this on the misbehaving server that's not following the specification, yet one finds editors/clients that accommodate this behavior (example here).
Hence the issue is: Should we allow null responses for this request and send the same reply as VS Code does? Or should we handle this as an invalid reply?
The protocol indicates that the response to the
textDocument/diagnostic
request is a properDiagnosticReport
, yet certain language servers return null as a response (like the Ruby language server).Initially one would blame this on the misbehaving server that's not following the specification, yet one finds editors/clients that accommodate this behavior (example here).
Hence the issue is: Should we allow null responses for this request and send the same reply as VS Code does? Or should we handle this as an invalid reply?