From 32982fdceecc5318e98c3bba636d3efe8e1c96d2 Mon Sep 17 00:00:00 2001 From: pml68 Date: Sat, 4 May 2024 11:08:57 +0200 Subject: feat: enable lazy caching, disable some rtp plugins, disable Rosé Pine italics, MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit set lazy to true by default --- lua/pml68/lazy.lua | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'lua/pml68/lazy.lua') diff --git a/lua/pml68/lazy.lua b/lua/pml68/lazy.lua index 6ac9111..86d2be5 100644 --- a/lua/pml68/lazy.lua +++ b/lua/pml68/lazy.lua @@ -13,4 +13,22 @@ vim.opt.rtp:prepend(lazypath) local plugins = require("pml68.plugins") -require("lazy").setup(plugins) +require("lazy").setup(plugins, { + defaults = { lazy = true }, + performance = { + cache = { + enabled = true, + }, + rtp = { + disabled_plugins = { + "matchit", + "matchparen", + "gzip", + "tarPlugin", + "tohtml", + "tutor", + "zipPlugin", + }, + }, + }, +}) -- cgit v1.2.3