summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:34:17 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:34:17 +0200
commit238d1235c185df38b7d5ba465547c7a004a09b57 (patch)
tree2aaba3420fdb92b7bfa9747d034cac80b31a9568
parent893f0a079932308eb5d403b443bd5658b7134e17 (diff)
fix(bootstrap): last fix
-rw-r--r--fnl/install.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index 913d6c7..3a54c23 100644
--- a/fnl/install.fnl
+++ b/fnl/install.fnl
@@ -7,8 +7,8 @@
(defn- install-plugins [plgs]
(packer.startup (fn [use]
(each [plugin opts (pairs plgs)]
- (use (a.assoc opts 1 plugin)))))
- (if (vim.env.BOOTSTRAPPED)?
- (packer.sync)))
+ (use (a.assoc opts 1 plugin))))))
(install-plugins plugins.plugins)
+(if (= (vim.env.BOOTSTRAPPED) true)
+ (packer.sync))