diff options
| author | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-16 15:10:52 +0200 |
|---|---|---|
| committer | aktersnurra <gustaf@gustafrydholm.xyz> | 2026-04-17 00:02:28 +0200 |
| commit | 99a7ff44cdf70d028ef6aab26224f26f69ee528d (patch) | |
| tree | 3bac13281fe000f0cc9a1823b6ccac856b0acf88 /fnl/util | |
| parent | 83a7f3505a441f1c152229d50a3d6011951a82fc (diff) | |
Diffstat (limited to 'fnl/util')
| -rw-r--r-- | fnl/util/cmds.fnl | 11 | ||||
| -rw-r--r-- | fnl/util/load.fnl | 8 |
2 files changed, 0 insertions, 19 deletions
diff --git a/fnl/util/cmds.fnl b/fnl/util/cmds.fnl deleted file mode 100644 index 5881634..0000000 --- a/fnl/util/cmds.fnl +++ /dev/null @@ -1,11 +0,0 @@ -(λ 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)))) - -(λ create-auto-cmds [auto-cmds] - (each [_ auto-cmd (ipairs auto-cmds)] - (match auto-cmd - [event opts] (vim.api.nvim_create_autocmd event opts)))) - -{: create-user-cmds : create-auto-cmds} diff --git a/fnl/util/load.fnl b/fnl/util/load.fnl deleted file mode 100644 index afc6cf1..0000000 --- a/fnl/util/load.fnl +++ /dev/null @@ -1,8 +0,0 @@ -;; Load file with function - -(λ apply-to-files [path f] - (each [fname type (vim.fs.dir (.. (vim.fn.stdpath :config) path))] - (when (= type :file) - (f (fname:match "^(.*)%.fnl$"))))) - -{: apply-to-files} |