aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/lsp.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-09-26 13:53:04 -0700
committerGitHub <noreply@github.com>2021-09-26 22:53:04 +0200
commitc217766f7c32f17598563b16ef260322ce80bfc9 (patch)
tree57145567fc326ade5aabb29f3a48f9ee2712a6c1 /runtime/lua/vim/lsp.lua
parent68c65b7732efdb637c4a0d1e2f2799932f654c59 (diff)
downloadrneovim-c217766f7c32f17598563b16ef260322ce80bfc9.tar.gz
rneovim-c217766f7c32f17598563b16ef260322ce80bfc9.tar.bz2
rneovim-c217766f7c32f17598563b16ef260322ce80bfc9.zip
feat(lsp): use cjson for lsp rpc (#15759)
Diffstat (limited to 'runtime/lua/vim/lsp.lua')
-rw-r--r--runtime/lua/vim/lsp.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp.lua b/runtime/lua/vim/lsp.lua
index ae9a7ab513..c7a88a0993 100644
--- a/runtime/lua/vim/lsp.lua
+++ b/runtime/lua/vim/lsp.lua
@@ -830,7 +830,7 @@ function lsp.start_client(config)
rpc.request('initialize', initialize_params, function(init_err, result)
assert(not init_err, tostring(init_err))
assert(result, "server sent empty result")
- rpc.notify('initialized', {[vim.type_idx]=vim.types.dictionary})
+ rpc.notify('initialized', vim.empty_dict())
client.initialized = true
uninitialized_clients[client_id] = nil
client.workspaceFolders = initialize_params.workspaceFolders