From ad86b1920426577ca2d0e6d56c309a190455c14f Mon Sep 17 00:00:00 2001 From: Chase Colman <5411+chase@users.noreply.github.com> Date: Sun, 12 Sep 2021 14:15:29 +0800 Subject: refactor: add explicit setup for impatient (#1529) Co-authored-by: kylo252 <59826753+kylo252@users.noreply.github.com> --- init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'init.lua') diff --git a/init.lua b/init.lua index cb23f633..9bccc33c 100644 --- a/init.lua +++ b/init.lua @@ -18,7 +18,10 @@ vim.cmd [[let &packpath = &runtimepath]] -- }}} _G.PLENARY_DEBUG = false -- Plenary destroys cache with this undocumented flag set to true by default -require("impatient").enable_profile() +require("impatient").setup { + path = vim.fn.stdpath "cache" .. "/lvim_cache", + enable_profiling = true, +} local config = require "config" config:init() -- cgit v1.2.3