mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-20 16:15:43 +02:00
modules/top-level/plugins: use mapNormalizedPlugins utils function
This commit is contained in:
parent
2c6182351f
commit
0d78a47792
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
{ lib, pkgs }:
|
||||
let
|
||||
builders = lib.nixvim.builders.withPkgs pkgs;
|
||||
inherit (import ./utils.nix lib) mapNormalizedPlugins;
|
||||
|
||||
byteCompile =
|
||||
p:
|
||||
|
@ -14,4 +15,4 @@ let
|
|||
prev: lib.optionalAttrs (prev ? dependencies) { dependencies = map byteCompile prev.dependencies; }
|
||||
);
|
||||
in
|
||||
map (p: p // { plugin = byteCompile p.plugin; })
|
||||
mapNormalizedPlugins byteCompile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue