nix-community.nixvim/plugins/colorschemes/one.nix

22 lines
341 B
Nix
Raw Normal View History

2021-03-17 22:51:01 +00:00
{ pkgs, config, lib, ... }:
with lib;
let
cfg = config.colorschemes.one;
in
{
2021-03-17 22:51:01 +00:00
options = {
colorschemes.one = {
2021-03-17 22:51:01 +00:00
enable = mkEnableOption "Enable vim-one";
};
};
config = mkIf cfg.enable {
colorscheme = "one";
extraPlugins = [ pkgs.vimPlugins.vim-one ];
2021-03-17 22:51:01 +00:00
options = {
termguicolors = true;
2021-03-17 22:51:01 +00:00
};
};
}