mirror of
https://github.com/neovim/neovim.git
synced 2026-09-15 10:22:15 +00:00
feat(lsp): support dynamic registration of completionProvider #41748
Problem: dynamicRegistration is declared false, and completionProvider is read from server_capabilities only. Solution: Declare it, and prefer registerOptions per field.
This commit is contained in:
@@ -481,7 +481,7 @@ function protocol.make_client_capabilities()
|
||||
rangesSupport = true,
|
||||
},
|
||||
completion = {
|
||||
dynamicRegistration = false,
|
||||
dynamicRegistration = true,
|
||||
completionItem = {
|
||||
snippetSupport = true,
|
||||
commitCharactersSupport = true,
|
||||
|
||||
Reference in New Issue
Block a user