summaryrefslogtreecommitdiff
path: root/fnl/plugins/core/lazy.fnl
blob: 8c86de461c39b697e57f0c382f8da5856fffd518 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
;; Lazy opts.

(local opts {:install {:colorscheme [:no-clown-fiesta]}
             :performance {:cache {:enabled true}
                           :rtp {:disabled_plugins [:gzip
                                                    :matchit
                                                    :netrwPlugin
                                                    :tarPlugin
                                                    :tohtml
                                                    :tutor
                                                    :zipPlugin]}}
             :ui {:border :single
                  :icons {:cmd "  "
                          :config " "
                          :event " "
                          :ft " "
                          :init " "
                          :import " "
                          :keys "  "
                          :lazy "鈴 "
                          :loaded "● "
                          :not_loaded "○ "
                          :plugin "  "
                          :runtime "  "
                          :source "  "
                          :start " "
                          :task "  "
                          :list ["● " " " " " "‒ "]}}})

(fn setup [plugins]
  (let [lazy (require :lazy)]
    (vim.keymap.set :n :<leader>y "<cmd>Lazy home<cr>" {:desc :Home})
    (lazy.setup plugins opts)))

{: setup}