summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
blob: 95b2c07cb3e1abc6e6443f926e6f775f5c73cb1d (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)