local M = {} 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) M.setup = function(plugins) require("lazy").setup(plugins, { install = { colorscheme = { "catppuccin" }, }, performance = { rtp = { disabled_plugins = { "2html_plugin", "bugreport", "compiler", "ftplugin", "fzf", "getscript", "getscriptPlugin", "gzip", "logipat", "matchit", "netrw", "netrwFileHandlers", "netrwPlugin", "netrwSettings", "optwin", "rplugin", "rrhelper", "spellfile_plugin", "synmenu", "syntax", "tar", "tarPlugin", "tutor", "vimball", "vimballPlugin", "zip", "zipPlugin", }, }, }, ui = { icons = { cmd = " ", config = "", event = " ", ft = " ", init = " ", keys = " ", plugin = " ", runtime = " ", source = " ", start = " ", task = " ", }, border = vim.g.bc.style, }, }) end return M