diff options
author | Gregory Anders <8965202+gpanders@users.noreply.github.com> | 2024-05-28 12:39:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 12:39:30 -0500 |
commit | 0bdd602bf974fdefc348f47bb7b9057521eb0407 (patch) | |
tree | 5bec46754be4714b72e10a8ebe295d9606d0d59d /runtime/lua/vim/lsp/protocol.lua | |
parent | 8ba73f0e4cc6c82032a348a1d6c8d794ed150fd7 (diff) | |
parent | e6cfcaed184d4ecdc8a8638429e1bd9e1b3251dc (diff) | |
download | rneovim-0bdd602bf974fdefc348f47bb7b9057521eb0407.tar.gz rneovim-0bdd602bf974fdefc348f47bb7b9057521eb0407.tar.bz2 rneovim-0bdd602bf974fdefc348f47bb7b9057521eb0407.zip |
Merge pull request #27339 from MariaSolOs/completion
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), |