refactor neovim colors

using base16 color plugin instead of homemade
This commit is contained in:
Noah Masur
2023-04-15 18:38:03 -04:00
parent 8d389013ad
commit 8f8012e435
10 changed files with 86 additions and 41 deletions

View File

@ -0,0 +1,13 @@
{ pkgs, lib, config, ... }: {
options.colors = lib.mkOption {
type = lib.types.attrsOf lib.types.str;
description = "Attrset of base16 colorscheme key value pairs.";
};
config = {
plugins = [ pkgs.vimPlugins.nvim-base16 ];
setup.base16-colorscheme = config.colors;
};
}