mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-05 11:30:13 +00:00
refactor neovim colors
using base16 color plugin instead of homemade
This commit is contained in:
13
modules/common/neovim/config/colors.nix
Normal file
13
modules/common/neovim/config/colors.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user