blob: 50fbe240b66aa29d08234d74db9d7441c4f67dc0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
;; Installs plugins with packer.
(module install {autoload {a aniseed.core
plugins plugins
packer packer
bootstrap bootstrap
util util}})
(defn- install-plugins [plgs]
(packer.startup (fn [use]
(each [plugin opts (pairs plgs)]
(use (a.assoc opts 1 plugin))))))
(install-plugins plugins.plugins)
(if (= util.num-plugins 3)
(packer.sync))
|