nvim-base16.lua icon indicating copy to clipboard operation
nvim-base16.lua copied to clipboard

override single color

Open mybigman opened this issue 4 years ago • 1 comments

How can I override the background color please?

mybigman avatar Apr 07 '21 22:04 mybigman

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.

windowsrefund avatar May 29 '23 16:05 windowsrefund