From 25e73c80d92535895088d8e541f794b0f048e0f1 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 9 Apr 2022 12:23:50 +0200 Subject: fix(util): return table --- fnl/util.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)))) -- cgit v1.2.3-70-g09d2