mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +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
|
||||
|
||||
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
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue