diff options
author | Maria José Solano <majosolano99@gmail.com> | 2024-02-04 14:13:23 -0800 |
---|---|---|
committer | Maria José Solano <majosolano99@gmail.com> | 2024-05-27 14:53:28 -0700 |
commit | ff097f2091e7a970e5b12960683b4dade5563040 (patch) | |
tree | d3b58907b6d41e2ad8f998f6e2b8134f56140389 /runtime/lua/vim/lsp/protocol.lua | |
parent | 28c04948a1c887a1cc0cb64de79fa32631700466 (diff) | |
download | rneovim-ff097f2091e7a970e5b12960683b4dade5563040.tar.gz rneovim-ff097f2091e7a970e5b12960683b4dade5563040.tar.bz2 rneovim-ff097f2091e7a970e5b12960683b4dade5563040.zip |
feat(lsp): completion side effects
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r-- | runtime/lua/vim/lsp/protocol.lua | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua index 419c2ff644..8ac4cc794b 100644 --- a/runtime/lua/vim/lsp/protocol.lua +++ b/runtime/lua/vim/lsp/protocol.lua @@ -738,14 +738,16 @@ function protocol.make_client_capabilities() completion = { dynamicRegistration = false, completionItem = { - -- Until we can actually expand snippet, move cursor and allow for true snippet experience, - -- this should be disabled out of the box. - -- However, users can turn this back on if they have a snippet plugin. - snippetSupport = false, + snippetSupport = true, commitCharactersSupport = false, preselectSupport = false, deprecatedSupport = false, documentationFormat = { constants.MarkupKind.Markdown, constants.MarkupKind.PlainText }, + resolveSupport = { + properties = { + 'additionalTextEdits', + }, + }, }, completionItemKind = { valueSet = get_value_set(constants.CompletionItemKind), |