Merge pull request #164 from frdrkolsson/feature/show-file-modified-status-in-statusline

feat: show file modified in feline plugin
dev
Pocco81 2 years ago committed by GitHub
commit d90a36e75b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -145,7 +145,7 @@ components.active[1][3] = {
hl = vi_mode_hl, 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 -- 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 -- 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 -- 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 = "" icon = ""
return icon return icon
end end
return " " .. icon .. " " .. filename .. " " return "%m" .. " " .. icon .. " " .. filename .. " "
end, end,
enabled = is_enabled(shortline, winid, 70), enabled = is_enabled(shortline, winid, 70),
hl = { hl = {

Loading…
Cancel
Save