summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-10 17:58:21 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-10 17:58:21 +0200
commite0fc0fff5c91cb3a5260b0071a2492faf200d504 (patch)
tree0fb2c455eba746a608fe1819291f8e255095630b /fnl
parent05d5708b87b9c3f3630fb079285829959ea624ef (diff)
fix(install): wip
Diffstat (limited to 'fnl')
-rw-r--r--fnl/install.fnl11
1 files changed, 5 insertions, 6 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index 39948b8..d6eef2c 100644
--- a/fnl/install.fnl
+++ b/fnl/install.fnl
@@ -5,11 +5,10 @@
plugins plugins
packer packer}})
-(defn- install-plugins [...]
- (let [plgs ...]
- (packer.startup (
- fn [use]
- (each [plugin opts (pairs plgs)]
- (use (a.assoc opts 1 plugin)))))))
+(defn- install-plugins [plgs]
+ (packer.startup (
+ fn [use]
+ (each [plugin opts (pairs plgs)]
+ (use (a.assoc opts 1 plugin))))))
(install-plugins plugins.plugins)