summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 22:54:35 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 22:54:35 +0200
commit885b22bf9e7e291e091836894b45c5e6ec221811 (patch)
tree1956dd8363d4d1558c0e2a79e1a8ee38f9266c87 /fnl/install.fnl
parent46dcf8fe18cddbb29db1fab6373feb9e817c963a (diff)
fix(bootstrap): again
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r--fnl/install.fnl6
1 files changed, 3 insertions, 3 deletions
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))