summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-10 17:18:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-10 17:18:58 +0200
commit05d5708b87b9c3f3630fb079285829959ea624ef (patch)
tree0670b696c1c938db825cc3dc9f906edb0b6cd835 /fnl/install.fnl
parent426b21829e1304b3e7c545be4743e9b89424eddc (diff)
fix(install): install table, still wip
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)