summaryrefslogtreecommitdiff
path: root/fnl/util
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/util
parentbeb3ed1effdc5dbd047c583598b83615075363b7 (diff)
Replace fn with λ and how cmds are imported
Diffstat (limited to 'fnl/util')
-rw-r--r--fnl/util/cmds.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/util/cmds.fnl b/fnl/util/cmds.fnl
index 254a26d..5881634 100644
--- a/fnl/util/cmds.fnl
+++ b/fnl/util/cmds.fnl
@@ -1,9 +1,9 @@
-(fn create-user-cmds [user-cmds]
+(λ create-user-cmds [user-cmds]
(each [_ user-cmd (ipairs user-cmds)]
(match user-cmd
[event cmd opts] (vim.api.nvim_create_user_command event cmd opts))))
-(fn create-auto-cmds [auto-cmds]
+(λ create-auto-cmds [auto-cmds]
(each [_ auto-cmd (ipairs auto-cmds)]
(match auto-cmd
[event opts] (vim.api.nvim_create_autocmd event opts))))