How do I override the default highlight group? #71
Replies: 2 comments 3 replies
-
If you want to make changes to h groups, you always should do that in a |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you for your reply. Here's what I wrote, but it doesn't work: vim.api.nvim_create_autocmd({ "ColorScheme" }, {
pattern = "*",
callback = function()
print("---------------------------------------------")
vim.api.nvim_set_hl(0, "SnacksNormal", { guibg = nil })
end,
}) What did I do wrong? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanted to override the background of terminal, but when I set SnacksNormal in my config, the highlight group changed back to link FloatNromal when I typed .
Beta Was this translation helpful? Give feedback.
All reactions