blob: df0774334bf0d04acc0c1114aa6f683043d7d7f0 (
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
36
37
38
39
40
41
|
;; Load plugins with lazy.
(local icons (require :icons))
(local opts {:install {:colorscheme [:no-clown-fiesta]}
:debug false
:defaults {:lazy false}
:performance {:cache {:enabled true}
:rtp {:disabled_plugins [:gzip
:matchit
:netrwPlugin
:tarPlugin
:tohtml
:tutor
:zipPlugin]}}
:ui {:border :single
:icons {:cmd (.. (. icons :cmd) " ")
:config (.. (. icons :cog) " ")
:event (.. (. icons :lightning) " ")
:ft (.. (. icons :document) " ")
:init (.. (. icons :cog) " ")
:import (.. (. icons :import) " ")
:keys (.. (. icons :keyboard) " ")
:lazy (.. (. icons :sleep) " ")
:loaded (.. (. icons :filled-orb) " ")
:not_loaded (.. (. icons :orb) " ")
:plugin (.. (. icons :package) " ")
:runtime (.. (. icons :vim) " ")
:source (.. (. icons :code) " ")
:start (.. (. icons :play) " ")
:task (.. (. icons :checkmark) " ")
:list [(.. (. icons :filled-orb) " ")
(.. (. icons :right-arrow) " ")
(.. (. icons :star) " ")
(.. (. icons :line) " ")]}}})
(let [lazy (require :lazy)]
(vim.keymap.set :n :<leader>y "<cmd>Lazy home<cr>" {:desc :Home})
(lazy.setup {:spec [{:import :plugins}
{:import :plugins.lsp.lspconfig}
{:import :plugins.lsp.mason}]} opts))
|