update: update config lualine

This commit is contained in:
asep komarudin 2024-02-22 21:10:00 +07:00
parent aaa617c7e9
commit 8cf4a351bc
2 changed files with 4 additions and 5 deletions

View file

@ -75,8 +75,8 @@ vim.g.pcode_custom_lualine = true
vim.g.pcode_component_separators = { left = " ", right = " " } vim.g.pcode_component_separators = { left = " ", right = " " }
vim.g.pcode_section_separators = { left = "", right = "" } vim.g.pcode_section_separators = { left = "", right = "" }
-- vim.g.pcode_component_separators = { left = "│", right = "│" } -- vim.g.pcode_component_separators = { left = "│", right = "│" }
-- vim.g.pcode_component_separators = { left = " ", right = " " } -- vim.g.pcode_component_separators = { left = "", right = "" }
-- vim.g.pcode_section_separators = { left = " ", right = " " } -- vim.g.pcode_section_separators = { left = "", right = "" }
-- 0 ( format jalan) 1 (fromat off) -- 0 ( format jalan) 1 (fromat off)
vim.g.pcode_format_on_save = 1 vim.g.pcode_format_on_save = 1

View file

@ -72,11 +72,10 @@ if data_exists then
if ui_icon ~= nil then if ui_icon ~= nil then
if custom_ui.status_icon == 1 then if custom_ui.status_icon == 1 then
icon_mode = "" icon_mode = ""
sts_mode = 1
elseif custom_ui.status_icon == 2 then elseif custom_ui.status_icon == 2 then
icon_mode = "" icon_mode = ""
sts_mode = 1
end end
sts_mode = 1
end end
local custom_style = custom_ui.custom_lualine local custom_style = custom_ui.custom_lualine
if custom_style ~= nil and custom_style == true then if custom_style ~= nil and custom_style == true then
@ -119,7 +118,7 @@ local branch = {
local location = { local location = {
"location", "location",
padding = { left = 1 }, padding = 1,
} }
-- cool function for progress -- cool function for progress