feat(lsp): support version in textDocument/publishDiagnostics #36754

This commit makes it so that push diagnostics received for an outdated
document version are ignored.
This commit is contained in:
Riley Bruins
2025-11-29 20:38:11 -08:00
committed by GitHub
parent 5bb8734fb6
commit 03d6cf7aae
4 changed files with 44 additions and 2 deletions

View File

@@ -560,6 +560,7 @@ function protocol.make_client_capabilities()
valueSet = get_value_set(constants.DiagnosticTag),
},
dataSupport = true,
versionSupport = true,
},
callHierarchy = {
dynamicRegistration = false,