31 lines
685 B
Lua
Raw Normal View History

2023-07-29 18:15:47 +00:00
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
2023-07-29 22:50:07 +00:00
-- stylua: ignore
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
2023-07-29 18:15:47 +00:00
end
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
require("lazy").setup({
spec = {
{ "LazyVim/LazyVim", import = "lazyvim.plugins" },
{ import = "plugins" },
},
defaults = {
lazy = false,
2023-07-29 22:50:07 +00:00
version = false,
2023-07-29 18:15:47 +00:00
},
2023-07-29 22:50:07 +00:00
install = { colorscheme = { "onedark" } },
checker = { enabled = true },
2023-07-29 18:15:47 +00:00
performance = {
rtp = {
disabled_plugins = {
"gzip",
"tarPlugin",
"tohtml",
"tutor",
"zipPlugin",
},
},
},
})