From 885b22bf9e7e291e091836894b45c5e6ec221811 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 22:54:35 +0200 Subject: fix(bootstrap): again --- fnl/install.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl') diff --git a/fnl/install.fnl b/fnl/install.fnl index 3b36502..d4a4fdb 100644 --- a/fnl/install.fnl +++ b/fnl/install.fnl @@ -10,6 +10,6 @@ (use (a.assoc opts 1 plugin)))))) (install-plugins plugins.plugins) -(let [is_bootstrapped vim.env.BOOTSTRAPPED] - (if is_bootstrapped? - (packer.sync))) +(local path (vim.fn.stdpath (.. "data" "/site/pack/packer/start"))) +(if (= (vim.fn.empty (vim.fn.glob path)) 3) + (packer.sync)) -- cgit v1.2.3-70-g09d2