diff options
| author | kylo252 <[email protected]> | 2021-12-12 19:43:35 +0100 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-12 19:43:35 +0100 | 
| commit | 8ffbe596c0c1d3a03bf2913538c156210211a37c (patch) | |
| tree | 24e06ba707479d04eda1aa32e76243065c3098b1 | |
| parent | 53bb4effbc645ed75fc13f38b4e4f58db8d4ebe1 (diff) | |
fix(lsp): correct client_id parsing in lvim-info (#2071)
| -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 | 
