mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 09:18:44 +02:00
add: update config lualine
This commit is contained in:
parent
76b8b56b5c
commit
620b1cd406
2 changed files with 11 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue