From b79fd4cc2431a30190ae94a68130463ee21dd9d1 Mon Sep 17 00:00:00 2001 From: shadmansaleh Date: Sun, 14 Mar 2021 20:13:46 +0600 Subject: [PATCH] Bug fix: componnet highlight not blending --- lua/lualine/highlight.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lualine/highlight.lua b/lua/lualine/highlight.lua index 5fa8f91..e7cfb6c 100644 --- a/lua/lualine/highlight.lua +++ b/lua/lualine/highlight.lua @@ -89,7 +89,7 @@ function M.create_component_highlight_group(color , highlight_tag, options) local fg = (color.fg or default_color_table.fg) -- Check if it's same as normal mode if it is no need to create aditional highlight if mode ~= 'normal' then - if bg ~= normal_hl.bg and fg ~= normal_hl.fg then + if bg ~= normal_hl.bg or fg ~= normal_hl.fg then highlight(table.concat(highlight_group_name, '_'), fg, bg, color.gui) end else