Summary
Whilst publish_diagnostics checks client capabilities for supports_pull_diagnostics before sending a notification,
clear_diagnostics sends a publishDiagnostics notification without doing so.
Although it does not do much harm, I think it should do the same check as publish_diagnostics
Version
0.14