diff options
-rw-r--r-- | fnl/install.fnl | 10 |
1 files 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) |