nvim_runtime_lua

vim.fn.undotree.ret

Fields7

ret.seq_last : integer

The highest undo sequence number used.

ret.seq_cur : integer

The sequence number of the current position in the undo tree. This differs from "seq_last" when some changes were undone.

ret.time_cur : integer

Time last used for |:earlier| and related commands. Use |strftime()| to convert to something readable.

ret.save_last : integer

Number of the last file write. Zero when no write yet.

ret.save_cur : integer

Number of the current position in the undo tree.

ret.synced : integer

Non-zero when the last undo block was synced. This happens when waiting from input from the user. See |undo-blocks|.

ret.entries : vim.fn.undotree.entry[]

A list of dictionaries with information about undo blocks.