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

x/ddc_vim/deps.ts>fn.gettabinfo

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

If {tabnr} is not specified, then information about all the tab pages is returned as a List. Each List item is a Dictionary. Otherwise, {tabnr} specifies the tab page number and information about that one is returned. If the tab page does not exist an empty List is returned.

Each List item is a Dictionary with the following entries: tabnr tab page number. variables a reference to the dictionary with tabpage-local variables windows List of window-IDs in the tab page.

Can also be used as a method:

GetTabnr()->gettabinfo()

Parameters

denops: Denops
optional
tabnr: unknown

Returns

Promise<unknown[]>