summaryrefslogtreecommitdiff
path: root/fnl/plugins/neogit.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/neogit.fnl
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/plugins/neogit.fnl')
-rw-r--r--fnl/plugins/neogit.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/neogit.fnl b/fnl/plugins/neogit.fnl
index a84c9dd..9b0c24b 100644
--- a/fnl/plugins/neogit.fnl
+++ b/fnl/plugins/neogit.fnl
@@ -11,9 +11,9 @@
:NeogitCommitView]
:command "setlocal spell!"}]])
-(fn init []
- (let [cmds (require :util.cmds)]
- (cmds.create-auto-cmds auto-cmds)))
+(λ init []
+ (let [{: create-auto-cmds} (require :util.cmds)]
+ (create-auto-cmds auto-cmds)))
(local opts {:integrations {:diffview true :telescope true}})