Skip to main content
Module

x/ddc_vim/deps.ts>fn.gettagstack

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

The result is a Dict, which is the tag stack of window {winnr}. {winnr} can be the window number or the |window-ID|. When {winnr} is not specified, the current window is used. When window {winnr} doesn't exist, an empty Dict is returned. The returned dictionary contains the following entries: curidx Current index in the stack. When at top of the stack, set to (length + 1). Index of bottom of the stack is 1. items List of items in the stack. Each item is a dictionary containing the entries described below. length Number of entries in the stack. Each item in the stack is a dictionary with the following entries: bufnr buffer number of the current jump from cursor position before the tag jump. See |getpos()| for the format of the returned list. matchnr current matching tag number. Used when multiple matching tags are found for a name. tagname name of the tag See |tagstack| for more information about the tag stack. Can also be used as a |method|: GetWinnr()->gettagstack()

Parameters

denops: Denops
optional
winnr: unknown

Returns

Promise<unknown>