Skip to main content
Module

x/ddc_vim/deps.ts>fn.getchangelist

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.getchangelist
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { getchangelist } = fn;

Returns the |changelist| for the buffer {expr}. For the use of {expr}, see |bufname()| above. If buffer {expr} doesn't exist, an empty list is returned. The returned list contains two entries: a list with the change locations and the current position in the list. Each entry in the change list is a dictionary with the following entries: col column number coladd column offset for 'virtualedit' lnum line number If buffer {expr} is the current buffer, then the current position refers to the position in the list. For other buffers, it is set to the length of the list. Can also be used as a |method|: GetBufnr()->getchangelist()

Parameters

denops: Denops
optional
expr: unknown

Returns

Promise<unknown>