From b74c9dd22e632bbe720587db92966c4d6811b766 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 18:52:34 +0200 Subject: style: format with fnlfmt --- fnl/util.fnl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'fnl/util.fnl') 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)))) -- cgit v1.2.3-70-g09d2