feat(lsp): support diagnostic related information (#34474)

This commit is contained in:
Riley Bruins
2025-07-07 10:05:02 -07:00
committed by GitHub
parent 0d9bf5b89f
commit 2031287e93
5 changed files with 48 additions and 2 deletions

View File

@@ -349,6 +349,7 @@ function protocol.make_client_capabilities()
valueSet = get_value_set(constants.DiagnosticTag),
},
dataSupport = true,
relatedInformation = true,
},
inlayHint = {
dynamicRegistration = true,
@@ -540,6 +541,7 @@ function protocol.make_client_capabilities()
honorsChangeAnnotations = true,
},
publishDiagnostics = {
relatedInformation = true,
tagSupport = {
valueSet = get_value_set(constants.DiagnosticTag),
},