From bf7dfb5dabd623518adc0067f797afc85da535b5 Mon Sep 17 00:00:00 2001 From: shadmansaleh <13149513+shadmansaleh@users.noreply.github.com> Date: Fri, 22 Jul 2022 20:17:02 +0600 Subject: [PATCH] fix: on_click messing up highlights solution seems to be keeping hl defs out of on_click wrap. --- lua/lualine/component.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/lualine/component.lua b/lua/lualine/component.lua index 4570687..2d04824 100644 --- a/lua/lualine/component.lua +++ b/lua/lualine/component.lua @@ -278,8 +278,8 @@ function M:draw(default_highlight, is_focused) self.status = status self:apply_icon() self:apply_padding() - self:apply_highlights(default_highlight) self:apply_on_click() + self:apply_highlights(default_highlight) self:apply_section_separators() self:apply_separator() end