Sunday, April 26, 2020

Re: Format of persistent history undofiles

Brian Lew wrote:

> I was wondering if there is any documentation about the format of the
> persistent history undofiles generated when the undofile option is set.
>
> I am looking to read them in programmatically (outside of vim) and noticed
> that they are in a binary format.
>
> Any information would be greatly appreciated!

There is no documentation other than the source code.

The format is private to Vim, it's not supposed to be used in any other
way. However, since existing undo files must be readable by future
versions of Vim, they can be expected to be backwards compatible.

--
hundred-and-one symptoms of being an internet addict:
26. You check your mail. It says "no new messages." So you check it again.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202004261741.03QHff6X005313%40masaka.moolenaar.net.

No comments: