base16: init plugin

This commit is contained in:
Pedro Alves 2021-02-10 14:49:33 +00:00
parent 657e5e6efb
commit f97e2f6ffc
4 changed files with 159 additions and 6 deletions

View file

@ -75,13 +75,13 @@ in {
};
config = let
configAttrs = {
configAttrs = filterAttrs (_: v: v != null) {
inherit (cfg) colorscheme active component componentFunction modeMap;
};
in mkIf cfg.enable {
programs.nixvim = {
extraPlugins = [ pkgs.vimPlugins.lightline-vim ];
globals.lightline = configAttrs;
globals.lightline = mkIf (configAttrs != {}) configAttrs;
};
};
}