nvim: lsp: Enable additionalTextEdits for completion item

This commit is contained in:
Sanchayan Maity 2022-05-05 20:59:32 +05:30
parent a460081971
commit 223ffe7505

View file

@ -158,6 +158,9 @@ end
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.workspace.configuration = true
capabilities.textDocument.completion.completionItem.snippetSupport = true
capabilities.textDocument.completion.completionItem.resolveSupport = {
properties = { 'documentation', 'detail', 'additionalTextEdits', }
}
local rust_tool_opts = {
tools = {