blob: cb5a58897b87297e79f59612d095777973610a09 (
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}})
(defn- install-plugins [plgs]
(packer.startup (fn [use]
(each [plugin opts (pairs plgs)]
(use (a.assoc opts 1 plugin)))))
(if is_bootstrapped?
((require :config.packer) .sync)))
(local is_bootstrapped (bootstrap.run))
(install-plugins plugins.plugins)
|