summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 22:11:55 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 22:11:55 +0200
commit25118e087c66bc100a88c901ed283e2d9a8b6520 (patch)
tree4fee1f6b28ad27d1430b3debe6dc092b7c08eac3
parent1e61963630e4f2e3bc2e8fa07e46f79274311982 (diff)
fix(bootstrap): env
-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)))