diff options
Diffstat (limited to 'fnl/util')
-rw-r--r-- | fnl/util/cmds.fnl | 4 |
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)))) |