.config/nvim/lua/lazy-bootstrap.lua

Sat, 08 Apr 2023 14:27:17 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 14:27:17 -0500
changeset 1103
0c1f1cf78ed9
parent 1101
40419d8e3cbb
child 1131
f3044a1658fc
permissions
-rw-r--r--

remove ssh config makefile stuff

1014
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
1 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
2 if not vim.loop.fs_stat(lazypath) then
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
3 vim.fn.system({
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
4 "git",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
5 "clone",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
6 "--filter=blob:none",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
7 "https://github.com/folke/lazy.nvim.git",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
8 "--branch=stable",
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
9 lazypath,
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
10 })
1014
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
11 end
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
12 vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
13
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
14 require("lazy").setup({
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
15 spec = {
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
16 {
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
17 "rebelot/kanagawa.nvim",
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
18 priority = 1000,
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
19 opts = {
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
20 keywordStyle = { italic = false },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
21 statementStyle = { bold = false },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
22 colors = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
23 theme = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
24 all = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
25 ui = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
26 bg = "none",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
27 bg_gutter = "none",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
28 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
29 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
30 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
31 },
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
32 },
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
33 config = function(_, opts)
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
34 require("kanagawa").setup(opts)
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
35 vim.cmd("colorscheme kanagawa")
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
36 end,
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
37 },
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
38 { import = "plugins" },
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
39 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
40 change_detection = { enabled = false },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
41 performance = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
42 rtp = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
43 disabled_plugins = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
44 "gzip",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
45 "tarPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
46 "tohtml",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
47 "zipPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
48 "tutor",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
49 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
50 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
51 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
52 })

mercurial