feat(lsp): add handlers for inlay hints (#23736)

initial support; public API left for a follow-up PR
This commit is contained in:
Chinmay Dalal
2023-06-11 15:23:37 +05:30
committed by GitHub
parent cce9460524
commit 643546b82b
10 changed files with 429 additions and 6 deletions

View File

@@ -641,6 +641,12 @@ function protocol.make_client_capabilities()
},
},
textDocument = {
inlayHint = {
dynamicRegistration = false,
resolveSupport = {
properties = {},
},
},
semanticTokens = {
dynamicRegistration = false,
tokenTypes = {
@@ -853,6 +859,9 @@ function protocol.make_client_capabilities()
dynamicRegistration = true,
relativePatternSupport = true,
},
inlayHint = {
refreshSupport = true,
},
},
experimental = nil,
window = {