Closed farzadmf closed 2 years ago
@farzadmf I am having the exact same issue. I temporarily commented out the part giving the error which did stop the error message. Which is in the preview.lua file.
-- au CursorMoved,BufLeave,ModeChanged <buffer> ++once lua _G.pretty_fold_preview[%d].close()
-- CursorHold
vim.cmd(string.format([[
augroup fold_preview
au!
au WinScrolled <buffer> lua _G.pretty_fold_preview[%d].scroll()
au VimResized <buffer> lua _G.pretty_fold_preview[%d].resize()
augroup END
]], curbufnr, curbufnr, curbufnr
))
I temporarily commented out the part giving the error
Seems like a hack? :stuck_out_tongue_closed_eyes:
This is because Neovim 0.6.1, surprisingly for me, doesn't have "ModeChanged" event.
Hi, I installed the plugin using
vim-plug
, and I added the setup lines in my config:However, when I go on a fold and press
h
, I get the following error:I'm using
neovim
version0.6.1