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

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

(install-plugins plugins.plugins)