summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fnl/bootstrap.fnl5
1 files changed, 3 insertions, 2 deletions
diff --git a/fnl/bootstrap.fnl b/fnl/bootstrap.fnl
index 4434003..2665550 100644
--- a/fnl/bootstrap.fnl
+++ b/fnl/bootstrap.fnl
@@ -19,8 +19,9 @@
(defn- ensure [user repository]
(let [path (ensure-path packer-path repository)])
(if (> (vim.fn.empty (vim.fn.glob path) 0))
- (execute (fmt git-clone-url user repository path))
- (execute (fmt "packadd %s" repository))))
+ (do
+ (execute (fmt git-clone-url user repository path))
+ (execute (fmt "packadd %s" repository)))))
(ensure :wbthomason :packer.nvim)
(ensure :Olical :aniseed)