35 lines
653 B
Lua
35 lines
653 B
Lua
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system({
|
|
"git",
|
|
"clone",
|
|
"--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable",
|
|
lazypath
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
|
|
|
require("lazy").setup({
|
|
spec = {
|
|
{import = "plugins"},
|
|
},
|
|
defaults = {
|
|
lazy = false,
|
|
version = false,
|
|
},
|
|
install = { colorscheme = { "tokyonight", "habamax" } },
|
|
checker = { enabled = false },
|
|
performance = {
|
|
rtp = {
|
|
disabled_plugins = {
|
|
"gzip",
|
|
"tarPlugin",
|
|
"tohtml",
|
|
"tutor",
|
|
"zipPlugin",
|
|
},
|
|
},
|
|
},
|
|
})
|