From 0d16da2b3170c3c5f6a461953052823f3783aa63 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 18 Jun 2024 20:34:54 +0900 Subject: [PATCH] nvim: fix: replace deprecated function --- dotfiles/neovim/lua/lualine_setup.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/neovim/lua/lualine_setup.lua b/dotfiles/neovim/lua/lualine_setup.lua index 7f412d4..ce01287 100644 --- a/dotfiles/neovim/lua/lualine_setup.lua +++ b/dotfiles/neovim/lua/lualine_setup.lua @@ -1,7 +1,7 @@ -- https://qiita.com/uhooi/items/99aeff822d4870a8e269 local lsp_names = function () local clients = {} - for _, client in ipairs(vim.lsp.get_active_clients({ bufnr = 0})) do + for _, client in ipairs(vim.lsp.get_clients({ bufnr = 0})) do table.insert(clients, client.name) end return ' ' .. table.concat(clients, ', ')