Closed serranomorante closed 9 months ago
I'm 99% sure this points to an error in your undofile. Not sure how this happens, but you should delete that file and see if it helps.
I'm however 100% sure it's not an issue of telescope-undo: The error occurs during a vim builtin which you can verify yourself. Just note the broken undostate's number and run :undo $number
and observe the same error.
Sorry in advance because I really don't know how to replicate this on a new file.
This is hapenning on a specific file in one of my projects. Once I do
require("telescope").extensions.undo.undo()
it fails with "u_undo: line numbers wrong" and (very important, I think) my buffer loses a ton of code out of nowhere right after executing that.Again, telescope-undo.nvim works on any other file except for this one.
Here's the error log.