feat(lualine): pretty_path now highlights file basename when modified

This commit is contained in:
Folke Lemaitre committed 2023-10-15 22:37:49 +02:00
1 parent 782fe0bef0
commit 8af7309c7e
4 files changed
+69 -37

No files matched your search

+3 -5
View File
@@ -131,7 +131,9 @@ return {
sections = {
lualine_a = { "mode" },
lualine_b = { "branch" },
lualine_c = {
Util.lualine.root_dir(),
{
"diagnostics",
symbols = {
@@ -142,11 +144,7 @@ return {
},
},
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
{
function()
return Util.root.pretty_path()
end,
},
{ Util.lualine.pretty_path() },
},
lualine_x = {
-- stylua: ignore