summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/install.fnl')
-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))