blob: afc6cf1730ea3f64d7dab10eab06f0d65a2fb1d5 (
plain)
1
2
3
4
5
6
7
8
|
;; 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}
|