enable plugin manager cache

This commit is contained in:
Maciej Lebiest 2023-02-14 22:09:08 +01:00
parent c8917beb8e
commit 19ab962ea9

View file

@ -13,7 +13,7 @@ require("lazy").setup({
-- neovim lsp plugins and depencencies -- neovim lsp plugins and depencencies
{ 'neovim/nvim-lspconfig', { 'neovim/nvim-lspconfig',
init = require('plugins.nvim-lspconfig').init, init = require('plugins.nvim-lspconfig').init,
priority = 60 }, priority = 20 },
{ 'hrsh7th/cmp-nvim-lsp' }, { 'hrsh7th/cmp-nvim-lsp' },
{ 'hrsh7th/cmp-buffer' }, { 'hrsh7th/cmp-buffer' },
{ 'hrsh7th/cmp-cmdline' }, { 'hrsh7th/cmp-cmdline' },
@ -216,7 +216,7 @@ require("lazy").setup({
}, },
performance = { performance = {
cache = { cache = {
enabled = false, enabled = true,
path = vim.fn.stdpath("cache") .. "/lazy/cache", path = vim.fn.stdpath("cache") .. "/lazy/cache",
-- Once one of the following events triggers, caching will be disabled. -- Once one of the following events triggers, caching will be disabled.
-- To cache all modules, set this to `{}`, but that is not recommended. -- To cache all modules, set this to `{}`, but that is not recommended.