summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 20:56:56 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 20:56:56 +0200
commitaa75a843d4a84b3fd23db161914220dd403b8d5b (patch)
treeb9bab69ba8c266af9b2c3edea1184b004fcaf90a
parent5e87e7281aab88b8142bf44cd29ded2b7817e753 (diff)
fix(bootstrap): remove false
-rw-r--r--fnl/bootstrap.fnl3
-rw-r--r--fnl/install.fnl2
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))