ruff server
: publishDiagnostics
should be sent on onClose
to clear diagnostics
#11114
Labels
server
Related to the LSP server
When clients don't support pull diagnostics, we'll need to send them an empty
publishDiagnostics
notification when a file is closed - otherwise, the previous diagnostics for that file will continue to exist.Reported by @dhruvmanila here.
The text was updated successfully, but these errors were encountered: