summaryrefslogtreecommitdiff
path: root/fnl/util.fnl
diff options
context:
space:
mode:
authoraktersnurra <grydholm@kth.se>2022-04-23 21:22:44 +0200
committeraktersnurra <grydholm@kth.se>2022-04-23 21:22:44 +0200
commit4ca15d0aa017119670ae454d69911e1ee0e55131 (patch)
tree7fd19c02017e74cbd3678706013ba9e25beb184e /fnl/util.fnl
parent4932d32cae9a2a63226b67e6678d459b773f1f8b (diff)
style: format
Diffstat (limited to 'fnl/util.fnl')
-rw-r--r--fnl/util.fnl11
1 files changed, 6 insertions, 5 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl
index 8bb3754..9054f54 100644
--- a/fnl/util.fnl
+++ b/fnl/util.fnl
@@ -5,8 +5,9 @@
(def num-plugins (length (vim.fn.readdir path)))
(defn load-plugin [name]
- (let [(ok? val-or-err) (pcall require name)]
- (if ok?
- val-or-err
- (vim.notify (.. "Could not load config: " val-or-err)
- vim.log.levels.WARN))))
+ (let [(ok? val-or-err) (pcall require name)]
+ (if ok?
+ val-or-err
+ (vim.notify
+ (.. "Could not load config: " val-or-err)
+ vim.log.levels.WARN))))