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

Tue, 14 Feb 2023 02:39:04 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 14 Feb 2023 02:39:04 -0600
changeset 1020
b1b644e9825d
parent 1019
7e42fd320166
child 1049
3f01468ffc32
permissions
-rw-r--r--

Add more plain vim plugins

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
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
3 vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
4 end
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
5 vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
b57969db48db start nvim config
Meredith Howard <mhoward@roomag.org>
parents:
diff changeset
6
1019
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
7 require("lazy").setup({
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
8 spec = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
9 { "nanotech/jellybeans.vim",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
10 priority = 1000,
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
11 config = function() vim.cmd.colorscheme("jellybeans") end },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
12 { import = "plugins" }
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
13 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
14 change_detection = { enabled = false },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
15 performance = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
16 rtp = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
17 disabled_plugins = {
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
18 "gzip",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
19 "tarPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
20 "tohtml",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
21 "zipPlugin",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
22 "tutor",
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
23 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
24 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
25 },
7e42fd320166 Further nvim work
Meredith Howard <mhoward@roomag.org>
parents: 1014
diff changeset
26 })

mercurial