aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMathias Fußenegger <mfussenegger@users.noreply.github.com>2021-09-28 23:04:01 +0200
committerGitHub <noreply@github.com>2021-09-28 14:04:01 -0700
commitec4731d982031e363a59efd4566fc72234bb43c8 (patch)
treec0f6dabcdd7c0ae86da4fd74da44dd80abe2dba3 /runtime/lua/vim/lsp/protocol.lua
parent3507d58dfb87923aa4031cbefaf1ef576a45dcaf (diff)
downloadrneovim-ec4731d982031e363a59efd4566fc72234bb43c8.tar.gz
rneovim-ec4731d982031e363a59efd4566fc72234bb43c8.tar.bz2
rneovim-ec4731d982031e363a59efd4566fc72234bb43c8.zip
feat(lsp): add codeAction/resolve support (#15818)
Closes https://github.com/neovim/neovim/issues/15339 and https://github.com/neovim/neovim/issues/15828
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 27703b4503..b3aa8b934f 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -645,6 +645,10 @@ function protocol.make_client_capabilities()
end)();
};
};
+ dataSupport = true;
+ resolveSupport = {
+ properties = { 'edit', }
+ };
};
completion = {
dynamicRegistration = false;