1
0
Fork 0
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:
Henrik Hautakoski 2024-08-26 18:39:35 +02:00
parent d995d54959
commit 6769c2c508

View file

@ -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