Closed finviman closed 3 years ago
That compile_path
is supposed to be setup by packer
, not by impatient
still doesnt work with this config
use 'lewis6991/impatient.nvim'
config = {
-- Move to lua dir so impatient.nvim can cache it
compile_path = vim.fn.stdpath('config')..'/lua/packer_compiled.lua'
}
but its weird, without this require packer compiled, the plugins works and the startuptime is insanely fast
Did you make sure to delete the old packer_compiled.lua
? And did you also run :PackerCompile
with the new config?
Also note that the packer_compile.lua
trick isn't necessary, it just allows that specific module to be cached.
That
compile_path
is supposed to be setup bypacker
, not byimpatient
Yes, I was wrong
I have config like this
and the startup speed is nearly 2X faster than before. but
require('packer_compiled')
report an error:module 'packer_compiled' not found
so i comment it.