summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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))