From 25118e087c66bc100a88c901ed283e2d9a8b6520 Mon Sep 17 00:00:00 2001
From: Gustaf Rydholm <gustaf.rydholm@gmail.com>
Date: Mon, 11 Apr 2022 22:11:55 +0200
Subject: fix(bootstrap): env

---
 fnl/install.fnl | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'fnl')

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)))
-- 
cgit v1.2.3-70-g09d2