Skip to content

Commit

Permalink
replace deprecated function in lualine config 💫
Browse files Browse the repository at this point in the history
  • Loading branch information
scottmckendry committed May 21, 2024
1 parent dd09400 commit 3c3982c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvim/lua/plugins/lualine.lua
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ return {
return icon .. (status.message or "")
end,
cond = function()
local ok, clients = pcall(vim.lsp.get_active_clients, { name = "copilot", bufnr = 0 })
local ok, clients = pcall(vim.lsp.get_clients, { name = "copilot", bufnr = 0 })
return ok and #clients > 0
end,
color = function()
Expand Down

0 comments on commit 3c3982c

Please sign in to comment.