2023-07-25 19:00:48 +03:00
|
|
|
local lazypath = vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2023-07-27 19:42:05 +03:00
|
|
|
vim.g.astronvim_first_install = true -- lets AstroNvim know that this is an initial installation
|
2023-07-25 19:00:48 +03:00
|
|
|
-- stylua: ignore
|
2023-07-27 13:57:52 +03:00
|
|
|
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath })
|
2023-07-25 19:00:48 +03:00
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(vim.env.LAZY or lazypath)
|
|
|
|
|
|
|
|
require("lazy").setup {
|
2023-10-06 18:59:27 +03:00
|
|
|
spec = {
|
2023-12-18 16:11:14 +03:00
|
|
|
-- TODO: change `branch="v4"` to `version="^4"` on release
|
|
|
|
{ "AstroNvim/AstroNvim", branch = "v4", import = "astronvim.plugins" },
|
2023-10-10 16:14:57 +03:00
|
|
|
-- AstroCommunity: import any community modules here
|
2023-07-26 14:44:02 +03:00
|
|
|
-- TODO: Remove branch v4 on release
|
|
|
|
-- { "AstroNvim/astrocommunity", branch = "v4" },
|
2023-07-25 19:00:48 +03:00
|
|
|
-- { import = "astrocommunity.pack.lua" },
|
2023-10-10 16:14:57 +03:00
|
|
|
-- import/override with your plugins
|
|
|
|
{ import = "plugins" },
|
2023-07-25 19:00:48 +03:00
|
|
|
},
|
|
|
|
install = { colorscheme = { "astrodark", "habamax" } },
|
|
|
|
performance = {
|
|
|
|
rtp = {
|
|
|
|
-- disable some rtp plugins, add more to your liking
|
|
|
|
disabled_plugins = {
|
|
|
|
"gzip",
|
|
|
|
"netrwPlugin",
|
|
|
|
"tarPlugin",
|
|
|
|
"tohtml",
|
|
|
|
"zipPlugin",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|