aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp/protocol.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2020-12-30 14:54:02 -0800
committerGitHub <noreply@github.com>2020-12-30 23:54:02 +0100
commit28b7574c94b8a4140e60e76b06443da2a43b3251 (patch)
tree5e2381e9c4203c992ccc2d0d0f0909d90f298076 /runtime/lua/vim/lsp/protocol.lua
parent329547bf70f0668ac92f9bf4364dbc6561d6fc08 (diff)
downloadrneovim-28b7574c94b8a4140e60e76b06443da2a43b3251.tar.gz
rneovim-28b7574c94b8a4140e60e76b06443da2a43b3251.tar.bz2
rneovim-28b7574c94b8a4140e60e76b06443da2a43b3251.zip
lsp: Disable capabilities not currently supported by language client handlers (#13638)
Several language servers are incorrectly invoking handlers which are not yet implemented in core.
Diffstat (limited to 'runtime/lua/vim/lsp/protocol.lua')
-rw-r--r--runtime/lua/vim/lsp/protocol.lua10
1 files changed, 9 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index b785d2f586..b2d3d0641c 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -730,7 +730,15 @@ function protocol.make_client_capabilities()
experimental = nil;
window = {
workDoneProgress = true;
- }
+ showMessage = {
+ messageActionItem = {
+ additionalPropertiesSupport = false;
+ };
+ };
+ showDocument = {
+ support = false;
+ };
+ };
}
end