diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 18:52:34 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-04-11 18:52:34 +0200 |
commit | b74c9dd22e632bbe720587db92966c4d6811b766 (patch) | |
tree | f68e5bb862fd5a800f86852e535d29984f461cb3 /fnl/util.fnl | |
parent | 274648011686b1c822e63b03bdcc6f2ce8e9b41e (diff) |
style: format with fnlfmt
Diffstat (limited to 'fnl/util.fnl')
-rw-r--r-- | fnl/util.fnl | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/fnl/util.fnl b/fnl/util.fnl index 18345ad..e6b4d9f 100644 --- a/fnl/util.fnl +++ b/fnl/util.fnl @@ -1,12 +1,11 @@ ;; Utility functions. -(module util - {autoload {nvim aniseed.nvim}}) +(module util {autoload {nvim aniseed.nvim}}) -(defn autocmd [name opts] - (nvim.ex.create_autocmd name opts)) +(defn autocmd [name opts] (nvim.ex.create_autocmd name opts)) (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)))) |