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

x/ddc_vim/deps.ts>fn.win_id2tabwin

Dark deno-powered completion framework for neovim/Vim
Go to Latest
function fn.win_id2tabwin
import { fn } from "https://deno.land/x/ddc_vim@v4.0.2/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[]>