rename for clarity

This commit is contained in:
Ching Pei Yang 2023-07-26 15:27:08 +02:00
parent afec39f3d9
commit 5981cd14f8
2 changed files with 3 additions and 3 deletions

View file

@ -104,7 +104,7 @@ with lib; let
package = mkOption { package = mkOption {
type = pluginType; type = pluginType;
}; };
dependencies = mkOption { after = mkOption {
type = listOf str; type = listOf str;
default = []; default = [];
}; };

View file

@ -327,11 +327,11 @@ in {
''; '';
mapResult = r: (wrapLuaConfig (concatStringsSep "\n" (map mkSection r))); mapResult = r: (wrapLuaConfig (concatStringsSep "\n" (map mkSection r)));
extraPluginsDag = mapAttrs (_: { extraPluginsDag = mapAttrs (_: {
dependencies, after,
setup, setup,
... ...
}: }:
nvim.dag.entryAfter dependencies setup) nvim.dag.entryAfter after setup)
cfg.extraPlugins; cfg.extraPlugins;
pluginConfig = resolveDag { pluginConfig = resolveDag {
name = "extra plugins config"; name = "extra plugins config";