Skip to main content
Module

x/ddc_vim/deps.ts>fn.getjumplist

Dark deno-powered completion framework for neovim/Vim
Latest
function fn.getjumplist
import { fn } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { getjumplist } = fn;

Returns the jumplist for the specified window.

Without arguments use the current window. With {winnr} only use this window in the current tab page. {winnr} can also be a window-ID. With {winnr} and {tabnr} use the window in the specified tab page. If {winnr} or {tabnr} is invalid, an empty list is returned.

The returned list contains two entries: a list with the jump locations and the last used jump position number in the list. Each entry in the jump location list is a dictionary with the following entries: bufnr buffer number col column number coladd column offset for 'virtualedit' filename filename if available lnum line number

Can also be used as a method:

GetWinnr()->getjumplist()

Parameters

denops: Denops
optional
winnr: unknown
optional
tabnr: unknown

Returns

Promise<unknown[]>