feat(root): cached pretty path function for statuslines
This commit is contained in:
@ -138,9 +138,10 @@ return {
|
||||
},
|
||||
},
|
||||
{ "filetype", icon_only = true, separator = "", padding = { left = 1, right = 0 } },
|
||||
{ "filename", path = 1, symbols = { modified = " ", readonly = "", unnamed = "" } },
|
||||
-- stylua: ignore
|
||||
{
|
||||
function()
|
||||
return Util.root.pretty_path()
|
||||
end,
|
||||
},
|
||||
},
|
||||
lualine_x = {
|
||||
|
Reference in New Issue
Block a user