summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-09 12:23:50 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-09 12:23:50 +0200
commit25e73c80d92535895088d8e541f794b0f048e0f1 (patch)
treed800419d34fb6e51bece13f62c070ab0b790c482 /fnl
parentd50cc4ba5c6c34bd33ae4eacfbb0d11f9262e935 (diff)
fix(util): return table
Diffstat (limited to 'fnl')
-rw-r--r--fnl/util.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl
index 5cc0367..4ee8f8e 100644
--- a/fnl/util.fnl
+++ b/fnl/util.fnl
@@ -7,5 +7,5 @@
(defn load-plugin [name]
(let [(ok? val-or-err) (pcall require name)]
(if ok?
- (val-or-err)
+ val-or-err
(vim.notify (.. "Could not load config: " val-or-err) vim.log.levels.WARN))))