mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 17:24:32 +02:00
Initial commit
This commit is contained in:
commit
2c9631997f
9 changed files with 490 additions and 0 deletions
18
plugins/colorschemes/gruvbox.nix
Normal file
18
plugins/colorschemes/gruvbox.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ pkgs, config, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.programs.nixvim.colorschemes.gruvbox;
|
||||
in {
|
||||
options = {
|
||||
programs.nixvim.colorschemes.gruvbox = {
|
||||
enable = mkEnableOption "Enable gruvbox";
|
||||
};
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
programs.nixvim = {
|
||||
colorscheme = "gruvbox";
|
||||
extraPlugins = [ pkgs.vimPlugins.gruvbox ];
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue