diff --git a/lua/configs/lualine.lua b/lua/configs/lualine.lua index 176ecb2..9d4c125 100644 --- a/lua/configs/lualine.lua +++ b/lua/configs/lualine.lua @@ -73,6 +73,17 @@ function M.config() 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 }, + }, + { -- working dir + function () return vim.fn.getcwd() end, + color = { fg = scolors.branch, gui = "bold" }, + padding = { left = 0, right = 1 }, + }, { -- git diff "diff", symbols = { added = " ", modified = "柳", removed = " " }, @@ -95,12 +106,6 @@ function M.config() }, padding = { left = 1, right = 1 }, }, - { -- git branch - "branch", - icon = "", - color = { fg = scolors.branch, gui = "bold" }, - padding = { left = 1, right = 1 }, - }, }, lualine_x = { { -- git blame