diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 20:56:56 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 20:56:56 +0200 |
commit | aa75a843d4a84b3fd23db161914220dd403b8d5b (patch) | |
tree | b9bab69ba8c266af9b2c3edea1184b004fcaf90a | |
parent | 5e87e7281aab88b8142bf44cd29ded2b7817e753 (diff) |
fix(bootstrap): remove false
-rw-r--r-- | fnl/bootstrap.fnl | 3 | ||||
-rw-r--r-- | 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)) |