summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
blob: 33453efcdd5b65d70bba0fd204143c16e8a1890b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
;; Installs plugins with packer.
(module install
  {autoload {
    a aniseed.core
    plugins plugins
    packer packer
    nvim aniseed.nvim}})

(defn- use [...]
  (let [plugins [...]]
  (packer.startup
    (fn [use])
)

(defn- override-use [use]
  (fn [plugin opts]
  (use (a.assoc (or opts {}) 1 name))
)

(packer.startup(
  fn use
))