summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
blob: 65e2b8b403c831386206e72a94e0c80386b63b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;; Installs plugins with packer.
(module install
  {autoload {
    a aniseed.core
    plugins plugins
    packer packer}})

(defn- install-plugins [...]
  (each [plugin opts (pairs [...])]
    (packer.startup (
      fn [use]
        (use (a.assoc opts 1 plugin))))))

(install-plugins plugins)