Open nicolas-sabbatini opened 4 months ago
can't reproduce. foldedPairs
never become nil
if https://github.com/kevinhwang91/nvim-ufo/blob/1b5f2838099f283857729e820cc05e2b19df7a2c/lua/ufo/decorator.lua#L339
is fired. I don't know why you encounter this error. The foldtext should render after nvim_set_decoration_provider.on_win
.
I found the problem, it was the following option on my config:
vim.opt.debug = "msg" -- Show error messages
If I turn off the option the error disappear
still unable to reproduce.
Neovim version (nvim -v | head -n1)
NVIM v0.10.1
Operating system/version
Pop!_OS 22.04 LTS
How to reproduce the issue
<C-w>v
)Expected behavior
The split is created successfully
Actual behavior
An error is trow