Closed pedro757 closed 1 year ago
Can you run highlight PackageInfoOutdatedVersion
and comment what you get
if I run it myself it changes the colors
:highlight PackageInfoOutdatedVersion guibg=#000000 guifg=#000000
No i meant just the command like so
PackageInfoOutdatedVersion xxx cleared
Seems like it's getting overridden somewhere, can you try and disable all other plugins and check if it still happens?
I don't know if this is still relevant, but I was also having this issue while using tokyonight. To be honest I'm not sure if that was the source of the problem, as I didn't actually test.
However, for those in the future that face the same problem, you can easily set the highlights back with tokyonight:
on_highlights = function(hl, c)
hl.PackageInfoOutdatedVersion = { fg = c.red1, }
hl.PackageInfoUptodateVersion = { fg = c.green1, }
end,
For those that face the same problem with dracula.nvim
theme, you need to add to overrides something similar like in the comment above:
overrides = {
...
PackageInfoOutdatedVersion = { fg = colors.bright_red },
PackageInfoUptodateVersion = { fg = colors.bright_green },
}
Issues
Plugin Version
Neovim Version
Neovim Version
NVIM v0.9.0-dev-47-gcfdb4cbad
Branch
master
Actual behavior
Expected behavior
I expect to set the right colors
Steps to reproduce
require("package-info").setup()
Package info config
require("package-info").setup()
Other information
No response
Help
No, sorry.
Implementation help
No response