mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-07 15:54:31 +02:00
base16: init plugin
This commit is contained in:
parent
657e5e6efb
commit
f97e2f6ffc
4 changed files with 159 additions and 6 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue