From 5981cd14f8637492b55648258c1514387f5ff802 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Wed, 26 Jul 2023 15:27:08 +0200 Subject: [PATCH] rename for clarity --- lib/types/plugins.nix | 2 +- modules/core/default.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/types/plugins.nix b/lib/types/plugins.nix index f4dde65..c5b6e54 100644 --- a/lib/types/plugins.nix +++ b/lib/types/plugins.nix @@ -104,7 +104,7 @@ with lib; let package = mkOption { type = pluginType; }; - dependencies = mkOption { + after = mkOption { type = listOf str; default = []; }; diff --git a/modules/core/default.nix b/modules/core/default.nix index 1515ca0..bab8803 100644 --- a/modules/core/default.nix +++ b/modules/core/default.nix @@ -327,11 +327,11 @@ in { ''; mapResult = r: (wrapLuaConfig (concatStringsSep "\n" (map mkSection r))); extraPluginsDag = mapAttrs (_: { - dependencies, + after, setup, ... }: - nvim.dag.entryAfter dependencies setup) + nvim.dag.entryAfter after setup) cfg.extraPlugins; pluginConfig = resolveDag { name = "extra plugins config";