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-17 08:44:16 +00:00
committed by Gaétan Lepage
parent 908921b771
commit 51bbde565a
+1 -1
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