Closed axieax closed 1 year ago
It took me so long to find this, I had no idea at first it was the l or h keys that were causing this or a mapping at all. I just saw 100% cpu usage and nvim hanging. I tried profiling with :profile start
but that doesn't work for lua stuff it seems, so I thought it was nvim itself at first. Sometimes it wouldn't happen for a day, sometimes every few minutes. Pretty sure it also happens for other filetypes/windows.
At least I'm glad I found it now, after a few weeks of this, it was driving me crazy.
Even a
Tried to fix this issue. Notify me if it happens again.
No, it's still there.
Should be fixed now.
Hi, it seems that the default keybinding for
h
andl
(from pretty-fold.preview) causes the floating window forPackerSync
(packer.nvim) to be non-responsive.j
andk
work fine however.It seems like this causes an infinite loop in
M.mapping.close_preview_open_fold(original)
, whereoriginal()
causes this to be recursively called.