add relative path and remove git branch

This commit is contained in:
Michael Peters 2022-11-04 14:12:42 -07:00
parent 86cfb979ec
commit 873482af01

View File

@ -75,16 +75,17 @@ function M.config()
},
{ -- file name
"filename",
path = 1,
icon="",
color = { fg = scolors.filename, gui = "bold" },
padding = { left = 1, right = 1 },
},
{ -- git branch
"branch",
icon = "",
color = { fg = scolors.branch, gui = "bold" },
padding = { left = 1, right = 1 },
},
-- { -- git branch
-- "branch",
-- icon = "",
-- color = { fg = scolors.branch, gui = "bold" },
-- padding = { left = 1, right = 1 },
-- },
{ -- filetype
"filetype",
colored = false,
@ -153,6 +154,7 @@ function M.config()
lualine_a = {
{ -- file name
"filename",
path = 1,
icon="",
color = { fg = scolors.filename, gui = "bold" },
padding = { left = 1, right = 1 },