Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ddu_vim/deps.ts>fn.getjumplist

Dark deno-powered UI framework for neovim/Vim
Go to Latest
function fn.getjumplist
import { fn } from "https://deno.land/x/ddu_vim@v4.0.0/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[]>