Error with selecting snippet while writing in Go #2148
-
Contributing guidelines
Module(s)mini.snippets QuestionI have seen this issue before but creator was unable to replicate. This time I have a recording for my receiving the error. Error executing vim.schedule lua callback: ...vim/site/pack/deps/start/mini.nvim/lua/mini/snippets.lua:2345: Index out of bounds screenrecording-2025-11-30_15-09-11.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
I should add that this happens after having MiniMax opened for quite a while and exiting and entering again resolves it. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the screencast! I am afraid, the answer here is the same as #2118: I think it is because there was deviation from the expected snippet session lifecycle. Without exact steps for me to reproduce this when following snippet session lifecycle, there isn't much to do here. I'll take another look at the code, but there probably won't be anything new. By the way, any reason why you didn't post it in #2118 directly? I'd expect it to be posted there, as the issue was closed until there is something new to add to the discussion. |
Beta Was this translation helpful? Give feedback.
-
|
I still think that this is an issue with not following the snippet session. So without the reproduction, I am going to close this. There is now also e5a9a38 which would probably make this case at least not error. |
Beta Was this translation helpful? Give feedback.
I still think that this is an issue with not following the snippet session. So without the reproduction, I am going to close this.
There is now also e5a9a38 which would probably make this case at least not error.