local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" if not vim.loop.fs_stat(lazypath) then -- bootstrap lazy.nvim 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" }, { import = "plugins.lang" }, }, defaults = { lazy = false, version = false, -- always use the latest git commit }, install = { colorscheme = { "onenord", "habamax" } }, checker = { enabled = true, notify = false, }, performance = { rtp = { -- HACK: do not reset rtp to allow interop with vim-plug reset = false, -- disable some rtp plugins disabled_plugins = { "gzip", -- "matchit", -- "matchparen", "netrwPlugin", "tarPlugin", "tohtml", "tutor", "zipPlugin", }, }, }, })