summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r--fnl/install.fnl7
1 files changed, 4 insertions, 3 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index 65e2b8b..39948b8 100644
--- a/fnl/install.fnl
+++ b/fnl/install.fnl
@@ -6,9 +6,10 @@
packer packer}})
(defn- install-plugins [...]
- (each [plugin opts (pairs [...])]
+ (let [plgs ...]
(packer.startup (
fn [use]
- (use (a.assoc opts 1 plugin))))))
+ (each [plugin opts (pairs plgs)]
+ (use (a.assoc opts 1 plugin)))))))
-(install-plugins plugins)
+(install-plugins plugins.plugins)