diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-11-09 13:05:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-09 22:05:41 +0100 |
commit | 8f31b218f97d143d909d4b8b86dc528e70c151e3 (patch) | |
tree | 21507ef7b99bb624c6df1439eeb95aab5c28b2a4 /runtime/lua/vim/lsp/handlers.lua | |
parent | 4174244d8b6718c703f8b8d3e907809bde9430bd (diff) | |
download | rneovim-8f31b218f97d143d909d4b8b86dc528e70c151e3.tar.gz rneovim-8f31b218f97d143d909d4b8b86dc528e70c151e3.tar.bz2 rneovim-8f31b218f97d143d909d4b8b86dc528e70c151e3.zip |
fix(lsp): do not index nil client in progress (#16262)
Diffstat (limited to 'runtime/lua/vim/lsp/handlers.lua')
-rw-r--r-- | runtime/lua/vim/lsp/handlers.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/lsp/handlers.lua b/runtime/lua/vim/lsp/handlers.lua index 957bee0221..a561630c2b 100644 --- a/runtime/lua/vim/lsp/handlers.lua +++ b/runtime/lua/vim/lsp/handlers.lua @@ -28,6 +28,7 @@ local function progress_handler(_, result, ctx, _) local client_name = client and client.name or string.format("id=%d", client_id) if not client then err_message("LSP[", client_name, "] client has shut down after sending the message") + return end local val = result.value -- unspecified yet local token = result.token -- string or number |