From 19ab962ea96e932696fd541bd570fd7539a9fe03 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Tue, 14 Feb 2023 22:09:08 +0100 Subject: [PATCH] enable plugin manager cache --- lua/lazy-load.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/lazy-load.lua b/lua/lazy-load.lua index f82bf9e..e30dd43 100644 --- a/lua/lazy-load.lua +++ b/lua/lazy-load.lua @@ -13,7 +13,7 @@ require("lazy").setup({ -- neovim lsp plugins and depencencies { 'neovim/nvim-lspconfig', init = require('plugins.nvim-lspconfig').init, - priority = 60 }, + priority = 20 }, { 'hrsh7th/cmp-nvim-lsp' }, { 'hrsh7th/cmp-buffer' }, { 'hrsh7th/cmp-cmdline' }, @@ -216,7 +216,7 @@ require("lazy").setup({ }, performance = { cache = { - enabled = false, + enabled = true, path = vim.fn.stdpath("cache") .. "/lazy/cache", -- Once one of the following events triggers, caching will be disabled. -- To cache all modules, set this to `{}`, but that is not recommended.