-- set this so that plugins loaded by lazy can use the leader key. vim.g.mapleader = " " vim.g.maplocalleader = " " 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", "--single-branch", "https://github.com/folke/lazy.nvim.git", lazypath, }) end vim.opt.runtimepath:prepend(lazypath) require("lazy").setup("plugins", { defaults = { lazy = true, version = "*" }, ui = { wrap = "true" }, checker = { enabled = false }, change_detection = { enabled = true }, debug = false, performance = { cache = { enabled = true, }, reset_packpath = true, rtp = { disabled_plugins = { "gzip", "matchit", "matchparen", "netrwPlugin", "tarPlugin", "tohtml", "tutor", "zipPlugin", }, }, }, })