plugins/theme: apply requested changes

types/types.nix: remove unneeded inherit

theme/theme.nix: remove commented inherit
This commit is contained in:
Charlie Root 2024-10-05 13:02:22 +02:00
commit 49ec0adca3
No known key found for this signature in database
4 changed files with 20 additions and 77 deletions

View file

@ -5,12 +5,11 @@
inherit (lib.strings) optionalString;
inherit (lib.trivial) boolToString warnIf;
inherit (lib.nvim.lua) toLuaObject;
cfg = config.vim.theme;
in {
base16 = {
setup = {base16-colors, ...}: ''
-- Base-16 theme
require('base16-colorscheme').setup(${toLuaObject cfg.base16-colors})
-- Base16 theme
require('base16-colorscheme').setup(${toLuaObject base16-colors})
'';
};
onedark = {