summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl')
-rw-r--r--fnl/util.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl
index 555768c..a80f0eb 100644
--- a/fnl/util.fnl
+++ b/fnl/util.fnl
@@ -34,9 +34,9 @@
(require :config)))
(defn load-plugin [name]
- (let [(ok? val-or-err) (pcall require name)]
+ (let [(ok? plugin) (pcall require name)]
(if ok?
- val-or-err
+ plugin
(vim.notify (.. "Could not load config: " val-or-err)
vim.log.levels.WARN))))