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

changeset 1064
fcfa295076a8
parent 1049
3f01468ffc32
child 1073
911aa9d81e71
equal deleted inserted replaced
1063:2763a54b0410 1064:fcfa295076a8
1 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" 1 local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
2 if not vim.loop.fs_stat(lazypath) then 2 if not vim.loop.fs_stat(lazypath) then
3 vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath }) 3 vim.fn.system({
4 "git",
5 "clone",
6 "--filter=blob:none",
7 "https://github.com/folke/lazy.nvim.git",
8 "--branch=stable",
9 lazypath,
10 })
4 end 11 end
5 vim.opt.rtp:prepend(vim.env.LAZY or lazypath) 12 vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
6 13
7 require("lazy").setup({ 14 require("lazy").setup({
8 spec = { 15 spec = {
11 priority = 1000, 18 priority = 1000,
12 opts = { 19 opts = {
13 colorscheme = "jellybeans", 20 colorscheme = "jellybeans",
14 }, 21 },
15 }, 22 },
16 { import = "plugins" } 23 { import = "plugins" },
17 }, 24 },
18 change_detection = { enabled = false }, 25 change_detection = { enabled = false },
19 performance = { 26 performance = {
20 rtp = { 27 rtp = {
21 disabled_plugins = { 28 disabled_plugins = {

mercurial