diff options
author | kylo252 <[email protected]> | 2021-12-12 19:48:08 +0100 |
---|---|---|
committer | kylo252 <[email protected]> | 2021-12-12 19:48:08 +0100 |
commit | a29e098598a220502ed3c0b0a25836f79f0b4098 (patch) | |
tree | c47c96f8f43427f44851bcb6a1ba4218fea3e3c5 | |
parent | b1a9384f6ebadadbc38ac2e372249d4cb2cf03c9 (diff) | |
parent | 8ffbe596c0c1d3a03bf2913538c156210211a37c (diff) |
Merge remote-tracking branch 'origin/rolling' into release-candidate
-rw-r--r-- | lua/lvim/lsp/utils.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lua/lvim/lsp/utils.lua b/lua/lvim/lsp/utils.lua index 7659972e..df3846ce 100644 --- a/lua/lvim/lsp/utils.lua +++ b/lua/lvim/lsp/utils.lua @@ -31,8 +31,10 @@ function M.get_client_capabilities(client_id) break end end + else + client = vim.lsp.get_client_by_id(tonumber(client_id)) end - if not client_id then + if not client then error "Unable to determine client_id" return end |