From 1f73ffc48f90f0a778c94675827dc5174f29ba38 Mon Sep 17 00:00:00 2001 From: frdrkolsson Date: Wed, 29 Jun 2022 11:52:40 +0200 Subject: [PATCH] Show file modified in feline plugin --- lua/catppuccin/core/integrations/feline.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/catppuccin/core/integrations/feline.lua b/lua/catppuccin/core/integrations/feline.lua index 37f1be1..b2a347c 100644 --- a/lua/catppuccin/core/integrations/feline.lua +++ b/lua/catppuccin/core/integrations/feline.lua @@ -145,7 +145,7 @@ components.active[1][3] = { hl = vi_mode_hl, } --- there is a dilema: we need to hide Diffs if ther is no git info. We can do that, but this will +-- there is a dilema: we need to hide Diffs if there is no git info. We can do that, but this will -- leave the right_semicircle colored with purple, and since we can't change the color conditonally -- then the solution is to create two right_semicircles: one with a mauve sett.bkg and the other one normal -- sett.bkg; both have the same fg (vi mode). The mauve one appears if there is git info, else the one with @@ -394,7 +394,7 @@ components.active[3][3] = { icon = "  " return icon end - return " " .. icon .. " " .. filename .. " " + return "%m" .. " " .. icon .. " " .. filename .. " " end, enabled = is_enabled(shortline, winid, 70), hl = {