diff options
| Commit | e3fa8089860bc9e2bb5e920f7ad3b6a6af96b58a (patch) | |
|---|---|---|
| Author | 2025-07-16 20:37:33 +0300 | |
| Committer | 2025-07-16 20:37:33 +0300 | |
| Files | 829700c36b718df1d9fa9459684d3039d871e1e2 /lua/plugins | |
| anderson-e3fa8089860bc9e2bb5e920f7ad3b6a6af96b58a.tar anderson-e3fa8089860bc9e2bb5e920f7ad3b6a6af96b58a.tar.gz anderson-e3fa8089860bc9e2bb5e920f7ad3b6a6af96b58a.zip | ||
| Parent | 562b7f5e1b6e1ac5bacc25de51ea70a81134e55c (diff) | |
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?
1 files changed, 2 insertions, 1 deletions
| -rw-r--r-- | lua/plugins/heirline.lua | 3 |
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) |
