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

x/ddc_vim/deps.ts>fn.win_id2win

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

Return the window number of window with ID {expr}. Return 0 if the window cannot be found in the current tabpage.

Can also be used as a method:

GetWinid()->win_id2win()

Parameters

denops: Denops
expr: unknown

Returns

Promise<number>