mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-23 17:31:11 +01:00
neovim: fix eval
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
parent
4dc3c91c50
commit
7b73a6e98f
1 changed files with 2 additions and 2 deletions
|
|
@ -465,10 +465,10 @@ in
|
|||
|
||||
generatedConfigs =
|
||||
let
|
||||
grouped = lib.lists.groupBy (x: x.type) pluginsNormalized;
|
||||
grouped = builtins.groupBy (x: x.type) pluginsNormalized;
|
||||
configsOnly = lib.foldl (acc: p: if p.config != null then acc ++ [ p.config ] else acc) [ ];
|
||||
in
|
||||
lib.mapAttrs (name: vals: concatMapStringsSep "\n" (configsOnly vals)) grouped;
|
||||
lib.mapAttrs (_name: vals: lib.concatStringsSep "\n" (configsOnly vals)) grouped;
|
||||
|
||||
finalPackage = wrappedNeovim';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue