diff options
Diffstat (limited to 'neovim')
-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 |