Skip to main content
Module

x/denops_std/function/mod.ts>gettabinfo

📚 Standard module for denops.vim
Go to Latest
function gettabinfo
import { gettabinfo } from "https://deno.land/x/denops_std@v6.4.0/function/mod.ts";

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[]>