add: update config lualine

This commit is contained in:
asep.komarudin 2024-05-23 21:29:02 +07:00
parent 76b8b56b5c
commit 620b1cd406
2 changed files with 11 additions and 1 deletions

View file

@ -33,7 +33,7 @@ vim.g.pcode_transparent_mode = 0
-- parallelogram -- parallelogram
-- transparent -- transparent
-- default -- default
vim.g.pcode_lualinetheme = "parallelogram" vim.g.pcode_lualinetheme = "roundedall"
-- 0 disable progress -- 0 disable progress
-- 1 lualine lsp progress -- 1 lualine lsp progress
-- 2 fidget progress -- 2 fidget progress

View file

@ -163,6 +163,16 @@ return {
end, end,
}, },
path = {
"filename",
file_status = true,
path = 1,
fmt = function(str)
return "[" .. str .. "]"
end,
cond = hide_in_width,
},
-- git branch info -- git branch info
get_branch = function() get_branch = function()
if vim.b.gitsigns_head ~= nil then if vim.b.gitsigns_head ~= nil then