1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-12-19 07:21:12 +01:00

plugins/lualine: drop deprecated vim.lsp.get_active_clients

Use vim.lsp.get_clients({ bufnr = 0 }).
This commit is contained in:
Austin Horstman 2025-12-16 19:41:44 -06:00 committed by Gaétan Lepage
parent 908921b771
commit 51bbde565a

View file

@ -292,7 +292,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
function()
local msg = ""
local buf_ft = vim.bo[0].filetype
local clients = vim.lsp.get_active_clients()
local clients = vim.lsp.get_clients({ bufnr = 0 })
if next(clients) == nil then
return msg
end