feat(lsp): opt-in to dynamicRegistration for inlay hints (#24102)

Since https://github.com/neovim/neovim/pull/23681 there is dynamic
registration support. We should use that for new features unless there
is a good reason to turn it off.
This commit is contained in:
Mathias Fußenegger
2023-06-22 19:39:57 +02:00
committed by GitHub
parent 904ad5458d
commit 12c2c16acf
2 changed files with 13 additions and 6 deletions

View File

@@ -642,7 +642,7 @@ function protocol.make_client_capabilities()
},
textDocument = {
inlayHint = {
dynamicRegistration = false,
dynamicRegistration = true,
resolveSupport = {
properties = {},
},