removed option all from palett override

This commit is contained in:
jostaub 2024-08-02 19:23:29 +02:00
commit 7951eb290b
2 changed files with 0 additions and 9 deletions

View file

@ -63,13 +63,6 @@ local variants = {
}
if options.palette ~= nil and next(options.palette) then
-- handle override of all variants if defined in config
if options.palette["all"] then
for variant_name in pairs(variants) do
variants[variant_name] = vim.tbl_extend("force", variants[variant_name], options.palette["all"])
end
end
-- handle variant specific overrides
for variant_name, override_palette in pairs(options.palette) do
-- ignore pseudo variant all as is was allready handeld

View file

@ -106,8 +106,6 @@ require("rose-pine").setup({
-- base = '#18191a',
-- overlay = '#363738',
-- },
--
-- use "all" instead of variant name to override colors in all variants
},
highlight_groups = {