From 8cf4a351bcf625a505457a87685a760b7dbcb4d0 Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Thu, 22 Feb 2024 21:10:00 +0700 Subject: [PATCH] update: update config lualine --- lua/custom/default.lua | 4 ++-- lua/user/lualine.lua | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/lua/custom/default.lua b/lua/custom/default.lua index 65438e5..a16bbcc 100644 --- a/lua/custom/default.lua +++ b/lua/custom/default.lua @@ -75,8 +75,8 @@ vim.g.pcode_custom_lualine = true vim.g.pcode_component_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_section_separators = { left = " ", right = " " } +-- vim.g.pcode_component_separators = { left = "", right = "" } +-- vim.g.pcode_section_separators = { left = "", right = "" } -- 0 ( format jalan) 1 (fromat off) vim.g.pcode_format_on_save = 1 diff --git a/lua/user/lualine.lua b/lua/user/lualine.lua index f9f5306..3151470 100644 --- a/lua/user/lualine.lua +++ b/lua/user/lualine.lua @@ -72,11 +72,10 @@ if data_exists then if ui_icon ~= nil then if custom_ui.status_icon == 1 then icon_mode = "" - sts_mode = 1 elseif custom_ui.status_icon == 2 then icon_mode = "" - sts_mode = 1 end + sts_mode = 1 end local custom_style = custom_ui.custom_lualine if custom_style ~= nil and custom_style == true then @@ -119,7 +118,7 @@ local branch = { local location = { "location", - padding = { left = 1 }, + padding = 1, } -- cool function for progress