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

Sun, 12 Mar 2023 03:03:49 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 12 Mar 2023 03:03:49 -0500
changeset 1080
83c9f8460bde
parent 1073
911aa9d81e71
child 1101
40419d8e3cbb
permissions
-rw-r--r--

continue to confuse the verymagic options

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 = {
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
16 -- {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
17 -- "themercorp/themer.lua",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
18 -- priority = 1000,
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
19 -- opts = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
20 -- -- colorscheme = "jellybeans",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
21 -- },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
22 -- },
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
23 {
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
24 "rebelot/kanagawa.nvim",
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
25 priority = 1000,
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
26 opts = {
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
27 keywordStyle = { italic = false },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
28 statementStyle = { bold = false },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
29 colors = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
30 theme = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
31 all = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
32 ui = {
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
33 bg = "none",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
34 bg_gutter = "none",
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
35 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
36 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
37 },
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
38 },
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
39 },
1073
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
40 config = function(_, opts)
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
41 require("kanagawa").setup(opts)
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
42 vim.cmd("colorscheme kanagawa")
911aa9d81e71 Switch to kanagawa until themer's jellybeans is fixed
Meredith Howard <mhoward@roomag.org>
parents: 1064
diff changeset
43 end,
1049
3f01468ffc32 Switch to themer jellybeans
Meredith Howard <mhoward@roomag.org>
parents: 1019
diff changeset
44 },
1064
fcfa295076a8 Apply stylua
Meredith Howard <mhoward@roomag.org>
parents: 1049
diff changeset
45 { import = "plugins" },
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
46 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
47 change_detection = { enabled = false },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
48 performance = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
49 rtp = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
50 disabled_plugins = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
51 "gzip",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
52 "tarPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
53 "tohtml",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
54 "zipPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
55 "tutor",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
56 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
57 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
58 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
59 })

mercurial