Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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@v5.0.2/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[]>