diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 22:11:55 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 22:11:55 +0200 |
commit | 25118e087c66bc100a88c901ed283e2d9a8b6520 (patch) | |
tree | 4fee1f6b28ad27d1430b3debe6dc092b7c08eac3 /fnl | |
parent | 1e61963630e4f2e3bc2e8fa07e46f79274311982 (diff) |
fix(bootstrap): env
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/install.fnl | 5 |
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))) |