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()