-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error saying Invalid highlight name: diffDeleted #97
Comments
make sure that you load heirline AFTER the colorscheme. |
I faced the same problem, A workaround is vim.cmd.colorscheme "kanagawa"
-- whole hairline config
vim.cmd.colorscheme "catppuccin" -- your colorscheme, I wanted catppuccin kanagawa fills missing colors. |
Excuse me, that does not work. I don't remember how I came up with that though. I was using kanagawa all along, xD. |
Just check out your theme, see what is the name for that, and then use that. For instance, catppuccin's highlight group names. https://github.com/catppuccin/nvim/blob/main/lua/catppuccin/groups/syntax.lua#L67 And also make sure colorscheme is loaded first. |
You probably have to define the aliases you want to use yourself as described in the cookbook: https://github.com/rebelot/heirline.nvim/blob/master/cookbook.md#colors-colors-more-colors I also thought the other aliases would be automatically assigned but that does not seem to be the case according to my experiments/understanding of the code |
I'm following the cookbook for a bootstrap statusline and in the colors variable, diffDeleted is invalid.
The text was updated successfully, but these errors were encountered: