summaryrefslogtreecommitdiff
path: root/fnl/bootstrap.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:04:37 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 21:04:37 +0200
commit77dc70369080389ddd783e8d847b18380844cb5b (patch)
treefc1ae3c13f1fb19b15f59e7dfdc45a7b7a45656e /fnl/bootstrap.fnl
parentf65d898fe500211555290efe1c2409efe33043b9 (diff)
fix(bootstrap): if statement arg
Diffstat (limited to 'fnl/bootstrap.fnl')
-rw-r--r--fnl/bootstrap.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/bootstrap.fnl b/fnl/bootstrap.fnl
index b0b066d..0c41bb9 100644
--- a/fnl/bootstrap.fnl
+++ b/fnl/bootstrap.fnl
@@ -17,9 +17,9 @@
(execute (fmt "packadd %s" repository)))
(defn- ensure [user repository] (let [path (ensure-path packer-path repository)]
- (if (> (vim.fn.empty (vim.fn.glob path) 0))
+ (if (> (vim.fn.empty (vim.fn.glob path)) 0)
(install user repository path))
- true))
+ true))
(defn run [] (let [is_bootstrapped (ensure :wbthomason :packer.nvim)]
(ensure :Olical :aniseed)