diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 5bb1298..589b911 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -33,7 +33,7 @@ vim.g.pcode_transparent_mode = 0 -- parallelogram -- transparent -- default -vim.g.pcode_lualinetheme = "parallelogram" +vim.g.pcode_lualinetheme = "roundedall" -- 0 disable progress -- 1 lualine lsp progress -- 2 fidget progress diff --git a/lua/user/utils/lualine_component.lua b/lua/user/utils/lualine_component.lua index c1fa1e2..871c9fe 100644 --- a/lua/user/utils/lualine_component.lua +++ b/lua/user/utils/lualine_component.lua @@ -163,6 +163,16 @@ return { end, }, + path = { + "filename", + file_status = true, + path = 1, + fmt = function(str) + return "[" .. str .. "]" + end, + cond = hide_in_width, + }, + -- git branch info get_branch = function() if vim.b.gitsigns_head ~= nil then