From 873482af01b71a9b97eef4b53b753728c873baed Mon Sep 17 00:00:00 2001 From: Michael Peters Date: Fri, 4 Nov 2022 14:12:42 -0700 Subject: [PATCH] add relative path and remove git branch --- lua/configs/lualine.lua | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/lua/configs/lualine.lua b/lua/configs/lualine.lua index 2796af1..0a3c7d5 100644 --- a/lua/configs/lualine.lua +++ b/lua/configs/lualine.lua @@ -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 },