Skip to content

Commit

Permalink
fix(feline): disable lsp status on nightly (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtnvgr authored Jun 13, 2023
1 parent 57ee09d commit 9aaf5b4
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions lua/catppuccin/groups/integrations/feline.lua
Original file line number Diff line number Diff line change
Expand Up @@ -292,12 +292,8 @@ function M.get()
-- workspace loader
components.active[2][1] = {
provider = function()
local Lsp
if vim.fn.has "neovim-0.10" then
Lsp = vim.lsp.util.get_progress_messages()[1]
else
Lsp = vim.lsp.status()[1]
end
if vim.lsp.status then return "" end
local Lsp = vim.lsp.util.get_progress_messages()[1]

if Lsp then
local msg = Lsp.message or ""
Expand Down

0 comments on commit 9aaf5b4

Please # to comment.