mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-12-22 20:01:17 +00:00
plugins/theme: apply requested changes
types/types.nix: remove unneeded inherit theme/theme.nix: remove commented inherit
This commit is contained in:
parent
5db7e2aff9
commit
49ec0adca3
4 changed files with 20 additions and 77 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue