• This also might result into some color schemes looking differently due
to them relying on implicit assumptions about how highlight groups are
defined by default. To account for this, define all attributes of
highlight groups explicitly. Alternatively, use `:colorscheme vim` or
`:source $VIMRUNTIME/colors/vim.lua` to restore previous definitions.
Thanks for this report! I've added the Added/Changed/Removed highlights as well as the MiniDiff* highlights. It should be ok in the future as a result!
It appears that neovim 0.10 did something about highlight groups https://github.com/neovim/neovim/blob/42aa69b076cb338e20b5b4656771f1873e8930d8/runtime/doc/news-0.10.txt#L25-L36
and this has caused some issues https://github.com/neovim/novim/issues/29013
For my usecase,
mini.diff
was not using the right colors in sign column because:mini.diff
falls back toAdded
instead ofGitAdded
in neovim >= 0.10 https://github.com/echasnovski/mini.diff/blob/441975a43bbec22442a91fe2ab1c7c06984e4d8a/lua/mini/diff.lua#L1005-L1007I've solved by linking the new highlights, but maybe there is a better solution