Skip to main content
Module

x/ddc_vim/deps.ts>fn.changenr

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.changenr
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/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

Promise<unknown>