2022-12-30 17:30:52 +01:00
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
2022-12-30 18:56:48 +01:00
|
|
|
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
|
|
|
|
vim.fn.system({ "git", "-C", lazypath, "checkout", "tags/stable" }) -- last stable release
|
2022-12-30 17:30:52 +01:00
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
require("lazy").setup("user.plugins", {
|
|
|
|
defaults = { lazy = true, version = "*" },
|
|
|
|
install = { colorscheme = { "tokyonight", "habamax" } },
|
|
|
|
checker = { enabled = true },
|
|
|
|
performance = {
|
|
|
|
rtp = {
|
|
|
|
disabled_plugins = {
|
2022-12-30 17:48:49 +01:00
|
|
|
-- "gzip",
|
|
|
|
-- "matchit",
|
|
|
|
-- "matchparen",
|
|
|
|
-- "netrwPlugin",
|
|
|
|
-- "tarPlugin",
|
|
|
|
-- "tohtml",
|
|
|
|
-- "tutor",
|
|
|
|
-- "zipPlugin",
|
2022-12-30 17:30:52 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|
|
|
|
vim.keymap.set("n", "<leader>l", "<cmd>:Lazy<cr>")
|