clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

update depricated function

+3 -3
+3 -3
nvim/lua/sspaeti/plugins/lualine.lua
··· 40 40 } 41 41 42 42 local function attached_lsp() 43 - local clients = vim.lsp.get_active_clients() 43 + local clients = vim.lsp.get_clients() 44 44 if #clients > 0 then 45 45 return clients[1].name 46 46 end ··· 51 51 attached_lsp, 52 52 icon = "", 53 53 cond = function() 54 - return #vim.lsp.get_active_clients() > 0 and hide_in_width(100)() 54 + return #vim.lsp.get_clients() > 0 and hide_in_width(100)() 55 55 end, 56 56 } 57 57 ··· 114 114 -- } 115 115 116 116 -- local copilot = function() 117 - -- local buf_clients = vim.lsp.get_active_clients { bufnr = 0 } 117 + -- local buf_clients = vim.lsp.get_clients { bufnr = 0 } 118 118 -- if #buf_clients == 0 then 119 119 -- return "LSP Inactive" 120 120 -- end