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

Mon, 20 May 2024 12:53:43 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 20 May 2024 12:53:43 -0500
changeset 1170
915a78d501d5
parent 1131
f3044a1658fc
permissions
-rw-r--r--

Bump nvim-treesitter to more recent commit

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 },
1131
f3044a1658fc nvim: switch to preferring last symver tag / add exceptions
Meredith Howard <mhoward@roomag.org>
parents: 1101
diff changeset
41 defaults = {
f3044a1658fc nvim: switch to preferring last symver tag / add exceptions
Meredith Howard <mhoward@roomag.org>
parents: 1101
diff changeset
42 version = "*",
f3044a1658fc nvim: switch to preferring last symver tag / add exceptions
Meredith Howard <mhoward@roomag.org>
parents: 1101
diff changeset
43 },
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
44 performance = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
45 rtp = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
46 disabled_plugins = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
47 "gzip",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
48 "tarPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
49 "tohtml",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
50 "zipPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
51 "tutor",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
52 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
53 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
54 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
55 })

mercurial