summaryrefslogtreecommitdiff
path: root/fnl/plugins/persistence.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:03:58 +0200
commit7096adce11b93787170c09b79a6170d97b4a977c (patch)
tree1ccb3901136fc31728652e4db9595c1d7b1cccf5 /fnl/plugins/persistence.fnl
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/persistence.fnl')
-rw-r--r--fnl/plugins/persistence.fnl6
1 files changed, 3 insertions, 3 deletions
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]})