aboutsummaryrefslogtreecommitdiff
path: root/lua/pml68/lazy.lua
diff options
context:
space:
mode:
authorpml68 <tutorialmester@gmail.com>2024-05-04 11:08:57 +0200
committerpml68 <tutorialmester@gmail.com>2024-05-04 11:08:57 +0200
commit32982fdceecc5318e98c3bba636d3efe8e1c96d2 (patch)
tree9a5c10682291db34566d87255be8aa8f08c67ca5 /lua/pml68/lazy.lua
parentfeat: remove unnecessary "is_windows" local variable from settings.lua (diff)
downloadnvim-32982fdceecc5318e98c3bba636d3efe8e1c96d2.tar.gz
feat: enable lazy caching, disable some rtp plugins, disable Rosé Pine italics,
set lazy to true by default
Diffstat (limited to 'lua/pml68/lazy.lua')
-rw-r--r--lua/pml68/lazy.lua20
1 files changed, 19 insertions, 1 deletions
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",
+ },
+ },
+ },
+})