From aa75a843d4a84b3fd23db161914220dd403b8d5b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 20:56:56 +0200 Subject: fix(bootstrap): remove false --- fnl/bootstrap.fnl | 3 +-- fnl/install.fnl | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fnl/bootstrap.fnl b/fnl/bootstrap.fnl index 414b92a..af16502 100644 --- a/fnl/bootstrap.fnl +++ b/fnl/bootstrap.fnl @@ -18,8 +18,7 @@ (do (execute (fmt git-clone-url user repository path)) (execute (fmt "packadd %s" repository)) - true) - false))) + true)))) (defn run [] (let [is_bootstrapped (ensure :wbthomason :packer.nvim)] (ensure :Olical :aniseed) diff --git a/fnl/install.fnl b/fnl/install.fnl index 9586948..cb5a588 100644 --- a/fnl/install.fnl +++ b/fnl/install.fnl @@ -8,7 +8,7 @@ (packer.startup (fn [use] (each [plugin opts (pairs plgs)] (use (a.assoc opts 1 plugin))))) - (if (= is_bootstrapped true) + (if is_bootstrapped? ((require :config.packer) .sync))) (local is_bootstrapped (bootstrap.run)) -- cgit v1.2.3-70-g09d2