From 903b92b2528d23267036a78fa92efd7a389833c4 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 19:55:34 +0200 Subject: fix(install): run bootstrap --- fnl/install.fnl | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/fnl/install.fnl b/fnl/install.fnl index d80de8f..9586948 100644 --- a/fnl/install.fnl +++ b/fnl/install.fnl @@ -1,9 +1,15 @@ ;; Installs plugins with packer. -(module install {autoload {a aniseed.core plugins plugins packer packer}}) +(module install {autoload {a aniseed.core + plugins plugins + packer packer + bootstrap bootstrap}}) (defn- install-plugins [plgs] (packer.startup (fn [use] (each [plugin opts (pairs plgs)] - (use (a.assoc opts 1 plugin)))))) + (use (a.assoc opts 1 plugin))))) + (if (= is_bootstrapped true) + ((require :config.packer) .sync))) +(local is_bootstrapped (bootstrap.run)) (install-plugins plugins.plugins) -- cgit v1.2.3-70-g09d2