diff options
author | aktersnurra <grydholm@kth.se> | 2022-04-23 21:22:44 +0200 |
---|---|---|
committer | aktersnurra <grydholm@kth.se> | 2022-04-23 21:22:44 +0200 |
commit | 4ca15d0aa017119670ae454d69911e1ee0e55131 (patch) | |
tree | 7fd19c02017e74cbd3678706013ba9e25beb184e /fnl/util.fnl | |
parent | 4932d32cae9a2a63226b67e6678d459b773f1f8b (diff) |
style: format
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)))) |