diff options
Diffstat (limited to 'fnl')
-rw-r--r-- | fnl/install.fnl | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl new file mode 100644 index 0000000..33453ef --- /dev/null +++ b/fnl/install.fnl @@ -0,0 +1,22 @@ +;; Installs plugins with packer. +(module install + {autoload { + a aniseed.core + plugins plugins + packer packer + nvim aniseed.nvim}}) + +(defn- use [...] + (let [plugins [...]] + (packer.startup + (fn [use]) +) + +(defn- override-use [use] + (fn [plugin opts] + (use (a.assoc (or opts {}) 1 name)) +) + +(packer.startup( + fn use +)) |