diff options
author | Lewis Russell <lewis6991@gmail.com> | 2024-02-11 11:42:21 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 11:42:21 +0000 |
commit | 8e86193502608c4a833f6996b942e8dd0eb8e476 (patch) | |
tree | fb84bd8ab82afc3938586a1d5e6c418cc8fd9330 /runtime/lua/vim/lsp/rpc.lua | |
parent | d48f75e42e4c340f9c191c126d38aa9494741ccc (diff) | |
parent | eac7e3fc6c738d7023c104f09341dbb10bf3c4bc (diff) | |
download | rneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.tar.gz rneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.tar.bz2 rneovim-8e86193502608c4a833f6996b942e8dd0eb8e476.zip |
Merge pull request #27420 from MariaSolOs/warning-anxiety
refactor(lsp): fix type annotations and add shared diagnostic helper
Diffstat (limited to 'runtime/lua/vim/lsp/rpc.lua')
-rw-r--r-- | runtime/lua/vim/lsp/rpc.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lua/vim/lsp/rpc.lua b/runtime/lua/vim/lsp/rpc.lua index 1aacf63392..23f70826e5 100644 --- a/runtime/lua/vim/lsp/rpc.lua +++ b/runtime/lua/vim/lsp/rpc.lua @@ -498,7 +498,7 @@ function Client:handle_body(body) if decoded.error then decoded.error = setmetatable(decoded.error, { __tostring = M.format_rpc_error, - }) + }) --- @type table end self:try_call( M.client_errors.SERVER_RESULT_CALLBACK_ERROR, |