Closed nettrino closed 12 months ago
@nettrino You can use the groups
table to override all highlight groups. To override a specific theme variant, create a sub-table with the same name as the colorscheme. Otherwise, use the all
sub-table.
require('github-theme').setup({
-- ...
groups = {
-- override for all variants
all = {
['@variable'] = { fg = 'palette.red' },
},
-- or override for a specific variant
-- github_dark = { ... }
},
})
vim.cmd('colorscheme github_dark')
I would want to be able to override the default colors for tree-sitter groups as defined in treesitter.lua. Is there an option to do this somehow?