From f318452070d42e51231f7880a5d0eaa93d978a1e Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 11 Jan 2023 00:41:17 +0100 Subject: Rip aniseed, hail hotpot --- fnl/plugins/init.fnl | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 fnl/plugins/init.fnl (limited to 'fnl/plugins/init.fnl') diff --git a/fnl/plugins/init.fnl b/fnl/plugins/init.fnl new file mode 100644 index 0000000..9fea347 --- /dev/null +++ b/fnl/plugins/init.fnl @@ -0,0 +1,10 @@ +(let [plugins (require :plugins.lsp) + path (.. (vim.fn.stdpath :config) :/fnl/plugins)] + (if (vim.loop.fs_stat path) + (do + (each [fname (vim.fs.dir path)] + (let [fname (fname:match "^(.*)%.fnl$")] + (if (and (not= fname nil) (not= fname :init) (not= fname :lazy)) + (table.insert plugins (require (.. :plugins. fname)))))) + )) + plugins) -- cgit v1.2.3-70-g09d2