mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
plugins/lualine: drop deprecated vim.lsp.get_active_clients
Use vim.lsp.get_clients({ bufnr = 0 }).
This commit is contained in:
committed by
Gaétan Lepage
parent
908921b771
commit
51bbde565a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user