-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Index out of bounds #235
Comments
Have you searched your title from the repo issue? |
Sorry if missed some information, but yes.
output from UFO_LOG=debug:
|
Which buffer is index out of bounds from your log? If you load ufo without lazy event, is there an issue? |
It seems that the issue doesn't happen if I use |
Which buffer is index out of bounds from your log? What's the content? Actually, I have no idea to fix. |
In this example my buffer is the bufnr 2. Untitled.movLog:
|
Leave this issue here, no ability to solve it. |
Neovim version (nvim -v | head -n1)
NVIM v0.10.0
Operating system/version
macOS M1
How to reproduce the issue
cat mini.lua
nvim --clean +'so mini.lua'
Expected behavior
The code above should open a Go file with the imports folded.
When UFO works:
Actual behavior
The code works most of the time, but sometimes when I open a file the folded code has a
0
instead of the default text and I get a lot of index out of bounds error.Folded code:
0 }
Error
The text was updated successfully, but these errors were encountered: