summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/install.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index 3a54c23..3b36502 100644
--- a/fnl/install.fnl
+++ b/fnl/install.fnl
@@ -10,5 +10,6 @@
(use (a.assoc opts 1 plugin))))))
(install-plugins plugins.plugins)
-(if (= (vim.env.BOOTSTRAPPED) true)
- (packer.sync))
+(let [is_bootstrapped vim.env.BOOTSTRAPPED]
+ (if is_bootstrapped?
+ (packer.sync)))