Open Ontonator opened 1 month ago
I've started experiencing this too, after updating Neovim recently.
Before updating:
After updating:
I also got the same problem as the one @daveyarwood has mentioned here after updating neovim.
Before updating: I don't have an image here
After updating:
Related discussion: https://github.com/nvim-lualine/lualine.nvim/discussions/1309
I added this to my configuration:
vim.api.nvim_set_hl(0, "StatusLine", {reverse = false})
vim.api.nvim_set_hl(0, "StatusLineNC", {reverse = false})
This is a workaround that makes my lualine normal again.
For some themes (like ellisonleao/gruvbox.nvim) you can also do this:
...
config = function()
require(plugin).setup({
inverse = false,
}
end
...
I added this to my configuration:
vim.api.nvim_set_hl(0, "StatusLine", {reverse = false}) vim.api.nvim_set_hl(0, "StatusLineNC", {reverse = false})
This works for me. Thanks for the workaround!
See if #1315 fixes this
TabLineSel
and TabLineFill
); and
Self Checks
How to reproduce the problem
commit e049c6e4c08a141c94218672e770f86f91c27a11
StatusLine
hasreverse
setExpected behaviour
Colours look normal.
Actual behaviour
Colours are inverted (including double inverting of highlight groups that are already inverted). Section separators are incorrect, since they use the background colours (which are now the foreground colours) of the adjacent components and they are on the wrong side (since their own background and foreground colours are swapped).
Minimal config to reproduce the issue
Additional information
https://github.com/neovim/neovim/commit/e049c6e4c08a141c94218672e770f86f91c27a11 made
statustext
etc. inherit styles fromStatusLine
etc.