From 7096adce11b93787170c09b79a6170d97b4a977c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Jul 2024 00:03:58 +0200 Subject: Replace fn with λ and how cmds are imported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fnl/plugins/persistence.fnl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/persistence.fnl') diff --git a/fnl/plugins/persistence.fnl b/fnl/plugins/persistence.fnl index 1939564..6f5867c 100644 --- a/fnl/plugins/persistence.fnl +++ b/fnl/plugins/persistence.fnl @@ -24,9 +24,9 @@ (persistence.stop))) {:nargs 0}]]) -(fn init [] - (let [cmds (require :util.cmds)] - (cmds.create-user-cmds user-cmds))) +(λ init [] + (let [{: create-user-cmds} (require :util.cmds)] + (create-user-cmds user-cmds))) (local opts {:options [:buffers :curdir :tabpages :winsize :help]}) -- cgit v1.2.3-70-g09d2