mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-06 19:05:26 +02:00
one: package option
This commit is contained in:
parent
2f634aa3ce
commit
890fca6ea2
1 changed files with 7 additions and 1 deletions
|
@ -7,12 +7,18 @@ in
|
|||
options = {
|
||||
colorschemes.one = {
|
||||
enable = mkEnableOption "Enable vim-one";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = pkgs.vimPlugins.vim-one;
|
||||
description = "Plugin to use for one";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
colorscheme = "one";
|
||||
extraPlugins = [ pkgs.vimPlugins.vim-one ];
|
||||
extraPlugins = [ cfg.package ];
|
||||
|
||||
options = {
|
||||
termguicolors = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue