From e3fa8089860bc9e2bb5e920f7ad3b6a6af96b58a Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 16 Jul 2025 20:37:33 +0300 Subject: fix(heirline): Force nocombine on all highlight groups StatusLine hightlight group has the "reverse" attribute on it. I do not know what happened, but after version 0.9 it seems that the attributes of StatusLine gets combined with the specific item highlight group. I guess this was a bug before? --- lua/plugins/heirline.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/plugins') diff --git a/lua/plugins/heirline.lua b/lua/plugins/heirline.lua index cc8cd06..cd7fbd2 100644 --- a/lua/plugins/heirline.lua +++ b/lua/plugins/heirline.lua @@ -59,6 +59,7 @@ return { end function set_hl(name, val) + val.nocombine = true vim.api.nvim_set_hl(0, name, val) return val end @@ -135,7 +136,7 @@ return { }, "ModeChanged") - vim.cmd.highlight({ "RowAndColumn", "ctermfg=238", "ctermbg=244" }) + set_hl("RowAndColumn", { ctermfg = 238, ctermbg = 244 }) local LineAndColumn = surround(delimiters.FilledCircle, { provider = function(self) -- cgit v1.3.1-23-gd82d