diff options
author | Michaël Ball <michael.ball@krotosaudio.com> | 2025-05-27 10:00:24 +0100 |
---|---|---|
committer | Michaël Ball <michael.ball@krotosaudio.com> | 2025-05-27 10:00:24 +0100 |
commit | 29a6f0e9a95e22a690298e4a4594fec94e64993d (patch) | |
tree | e63f31cd58707427984d2db1c2b93fdb0afebfbb | |
parent | 83ba1da4c1ed2720ecc36040a6272a37a1f1ba8f (diff) |
Replace deprecated function
-rw-r--r-- | neovim/.config/nvim/lua/config/lualine.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/neovim/.config/nvim/lua/config/lualine.lua b/neovim/.config/nvim/lua/config/lualine.lua index f2883d7..8bb6559 100644 --- a/neovim/.config/nvim/lua/config/lualine.lua +++ b/neovim/.config/nvim/lua/config/lualine.lua @@ -167,7 +167,7 @@ ins_left { function() local msg = 'No Active Lsp' local buf_ft = vim.api.nvim_buf_get_option(0, 'filetype') - local clients = vim.lsp.get_active_clients() + local clients = vim.lsp.get_clients() if next(clients) == nil then return msg end @@ -183,7 +183,7 @@ ins_left { local tbl = { ['dashboard'] = true, [''] = true } if tbl[vim.bo.filetype] then return false - elseif next(vim.lsp.get_active_clients()) == nil then + elseif next(vim.lsp.get_clients()) == nil then return false end return true |