mirror of
https://github.com/pnx/dotfiles
synced 2026-06-22 18:43:41 +02:00
nvim/lua/user/plugins/ui/statusline.lua: use vim.lsp.get_clients() instead of deprecated vim.lsp.buf_get_clients()
This commit is contained in:
parent
d995d54959
commit
6769c2c508
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@ local function indent_settings()
|
||||||
end
|
end
|
||||||
|
|
||||||
local function lsp_info()
|
local function lsp_info()
|
||||||
local num_clients = tostring(#vim.tbl_keys(vim.lsp.buf_get_clients()))
|
local num_clients = tostring(#vim.tbl_keys(vim.lsp.get_clients()))
|
||||||
return " " .. num_clients
|
return " " .. num_clients
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue