Skip to content
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

override single color #5

Open
mybigman opened this issue Apr 7, 2021 · 1 comment
Open

override single color #5

mybigman opened this issue Apr 7, 2021 · 1 comment

Comments

@mybigman
Copy link

mybigman commented Apr 7, 2021

How can I override the background color please?

@windowsrefund
Copy link

I just figured out how to do this yesterday in order to override the a few of the highlight groups related to diff mode.

vim.cmd.colorscheme('base16-tomorrow-night')
local colors = require('colorscheme').colors
vim.api.nvim_set_hl(0, 'DiffAdd', {
    fg = colors.base01, bg = colors.base0B
})

Of course, you'll have to figure out how to target the background itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants