lewis6991 / impatient.nvim

Improve startup time for Neovim
MIT License
1.19k stars 28 forks source link

`DistantInstall` fails #52

Closed axieax closed 2 years ago

axieax commented 2 years ago

Hi, found this weird bug a while ago, but for some reason, distant.nvim's DistantInstall command fails if I enable profiling with impatient.enable_profile(), but works completely fine with profiling disabled (default).

I get the following error message:

...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:231: attempt to index a nil value...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:231: attempt to index a nil value...c
k/packer/start/impatient.nvim/lua/impatient/profile.lua:231: attempt to index a nil value...ck/packer/start/impatient.nvim/lua/impatient/profile.lua:231: attempt to index a nil value...ck/pa
cker/start/impatient.nvim/lua/impatient/profile.lua:231: attempt to index a nil value
lewis6991 commented 2 years ago

Not able to reproduce. I installed distant.nvim and ran LuaCacheProfile and there is no error.

axieax commented 2 years ago

Seems like I'm unable to reproduce this issue either, so consider it resolved :D

OlegGulevskyy commented 1 year ago

@axieax I am able to reproduce the error What can be provided to help debug this?

lewis6991 commented 1 year ago

Not a lot really. You'll need to debug it yourself.

It is honestly better just to disable profiling.