Skip to main content
Latest
function fn.win_id2tabwin
import { fn } from "https://deno.land/x/denops_lsputil@v0.9.4/deps.ts";
const { win_id2tabwin } = fn;

Return a list with the tab number and window number of window with ID {expr}: [tabnr, winnr]. Return [0, 0] if the window cannot be found.

Can also be used as a method:

GetWinid()->win_id2tabwin()

Parameters

denops: Denops
expr: unknown

Returns

Promise<unknown[]>