summaryrefslogtreecommitdiff
path: root/lua/lvim/core/lualine/components.lua
diff options
context:
space:
mode:
authorChristian Chiarulli <[email protected]>2022-10-31 12:26:13 -0400
committerGitHub <[email protected]>2022-10-31 12:26:13 -0400
commit6ea5341a846e8bc1848ce765c6d97f1dbbd307d5 (patch)
tree41689080469e5fff9fc0985c949a49bdc5d7bfe3 /lua/lvim/core/lualine/components.lua
parent74ad56ff68f9853a3cdb6004bf01162911bcadd6 (diff)
fix: statusline and breadcrumbs hls reload with config reload (#3376)
Diffstat (limited to 'lua/lvim/core/lualine/components.lua')
-rw-r--r--lua/lvim/core/lualine/components.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/lvim/core/lualine/components.lua b/lua/lvim/core/lualine/components.lua
index e4148e20..455ee09a 100644
--- a/lua/lvim/core/lualine/components.lua
+++ b/lua/lvim/core/lualine/components.lua
@@ -12,14 +12,7 @@ local function diff_source()
end
end
-local statusline_hl = vim.api.nvim_get_hl_by_name("StatusLine", true)
local cursorline_hl = vim.api.nvim_get_hl_by_name("CursorLine", true)
-local normal_hl = vim.api.nvim_get_hl_by_name("Normal", true)
-
-vim.api.nvim_set_hl(0, "SLCopilot", { fg = "#6CC644", bg = statusline_hl.background })
-vim.api.nvim_set_hl(0, "SLGitIcon", { fg = "#E8AB53", bg = cursorline_hl.background })
-vim.api.nvim_set_hl(0, "SLBranchName", { fg = normal_hl.foreground, bg = cursorline_hl.background })
-vim.api.nvim_set_hl(0, "SLProgress", { fg = "#ECBE7B", bg = statusline_hl.background })
local location_color = nil
local branch = lvim.icons.git.Branch