diff options
Diffstat (limited to 'fnl/util.fnl')
-rw-r--r-- | fnl/util.fnl | 11 |
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)))) |