You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When opening a file and trying to fold errors appear inline in buffer:
When folding, in the folded lines a 0 is written rather than text
When moving cursor into folded lines, a bunch of errors appear ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/model/buffer.lua:227: index out of bounds .... ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141 in function < ... decorator.lua:138 …
Then closing the buffer bdand openning again, I can close the folds with no more problems and everything works as expected.
The thing is that is quite annoying as you can imagine…
No ufo.log in ~/.cache/nvim/
When opening a file and trying to fold errors appear inline in buffer:
When folding, in the folded lines a 0 is written rather than text
When moving cursor into folded lines, a bunch of errors appear ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/model/buffer.lua:227: index out of bounds .... ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141 in function < ... decorator.lua:138 …
Then closing the buffer bdand openning again, I can close the folds with no more problems and everything works as expected.
The thing is that is quite annoying as you can imagine…
No ufo.log in ~/.cache/nvim/
The text was updated successfully, but these errors were encountered:
Neovim version (nvim -v | head -n1)
NVIM v0.9.5
Operating system/version
macOS 14.4.1
How to reproduce the issue
I am using ufo plugin integrated as stated in https://github.com/kevinhwang91/nvim-ufo?tab=readme-ov-file#minimal-configuration Option2 using mason-lspconfig plugin.
When opening a file and trying to fold errors appear inline in buffer:
0
is written rather than textufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/model/buffer.lua:227: index out of bounds ....
ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141 in function < ... decorator.lua:138 …
Then closing the buffer
bd
and openning again, I can close the folds with no more problems and everything works as expected.The thing is that is quite annoying as you can imagine…
No
ufo.log
in~/.cache/nvim/
Expected behavior
Just fold the lines as usual.
Actual behavior
I am using ufo plugin integrated as stated in https://github.com/kevinhwang91/nvim-ufo?tab=readme-ov-file#minimal-configuration Option2 using mason-lspconfig plugin.
When opening a file and trying to fold errors appear inline in buffer:
0
is written rather than textufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/model/buffer.lua:227: index out of bounds ....
ufo: Error executing lua: ....../local/share/nvim/lazy/nvim-ufo/lua/ufo/decorator.lua:141 in function < ... decorator.lua:138 …
Then closing the buffer
bd
and openning again, I can close the folds with no more problems and everything works as expected.The thing is that is quite annoying as you can imagine…
No
ufo.log
in~/.cache/nvim/
The text was updated successfully, but these errors were encountered: