import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/deps.ts";
const { changenr } = fn;
Return the number of the most recent change. This is the same
number as what is displayed with :undolist
and can be used
with the :undo
command.
When a change was made it is the number of that change. After
redo it is the number of the redone change. After undo it is
one less than the number of the undone change.
Returns 0 if the undo list is empty.
Parameters
denops: Denops