mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-19 08:49:00 +02:00
fix(lsp): correct client_id parsing in lvim-info (#2071)
This commit is contained in:
parent
53bb4effbc
commit
8ffbe596c0
1 changed files with 3 additions and 1 deletions
|
@ -31,8 +31,10 @@ function M.get_client_capabilities(client_id)
|
||||||
break
|
break
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
else
|
||||||
|
client = vim.lsp.get_client_by_id(tonumber(client_id))
|
||||||
end
|
end
|
||||||
if not client_id then
|
if not client then
|
||||||
error "Unable to determine client_id"
|
error "Unable to determine client_id"
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue