summaryrefslogtreecommitdiff
path: root/fnl/util
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/util')
-rw-r--r--fnl/util/load.fnl4
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/util/load.fnl b/fnl/util/load.fnl
index fef9b6e..afc6cf1 100644
--- a/fnl/util/load.fnl
+++ b/fnl/util/load.fnl
@@ -1,8 +1,8 @@
;; Load file with function
-(λ load-and-apply [path f]
+(λ apply-to-files [path f]
(each [fname type (vim.fs.dir (.. (vim.fn.stdpath :config) path))]
(when (= type :file)
(f (fname:match "^(.*)%.fnl$")))))
-{: load-and-apply}
+{: apply-to-files}