perf: improve performance by enabling caching
This commit is contained in:
+27
-4
@@ -46,15 +46,38 @@ require("lazy").setup({
|
|||||||
rocks = {
|
rocks = {
|
||||||
hererocks = true,
|
hererocks = true,
|
||||||
},
|
},
|
||||||
|
---@diagnostic disable-next-line: assign-type-mismatch
|
||||||
|
dev = {
|
||||||
|
fallback = true,
|
||||||
|
},
|
||||||
|
install = {
|
||||||
|
missing = true,
|
||||||
|
colorscheme = { "catppuccin-mocha", "tokyonight", "default" },
|
||||||
|
},
|
||||||
defaults = {
|
defaults = {
|
||||||
lazy = false,
|
lazy = true,
|
||||||
version = false,
|
version = nil,
|
||||||
event = "VeryLazy",
|
event = "VeryLazy",
|
||||||
},
|
},
|
||||||
checker = { enabled = true },
|
checker = {
|
||||||
|
-- automatically check for plugin updates
|
||||||
|
enabled = true,
|
||||||
|
notify = true,
|
||||||
|
frequency = 3600,
|
||||||
|
check_pinned = false,
|
||||||
|
},
|
||||||
|
change_detection = {
|
||||||
|
-- automatically check for config file changes and reload the ui
|
||||||
|
enabled = true,
|
||||||
|
notify = false,
|
||||||
|
},
|
||||||
performance = {
|
performance = {
|
||||||
|
cache = {
|
||||||
|
enabled = true,
|
||||||
|
},
|
||||||
|
reset_packpath = true,
|
||||||
rtp = {
|
rtp = {
|
||||||
reset = false,
|
reset = true, -- reset the runtime path to $VIMRUNTIME and your config directory
|
||||||
disabled_plugins = require("data.types").lazy.disabled_plugins,
|
disabled_plugins = require("data.types").lazy.disabled_plugins,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user