Skip to main content
Module

x/denops_std/function/mod.ts>win_findbuf

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

Returns a List with window-IDs for windows that contain buffer {bufnr}. When there is none the list is empty.

Can also be used as a method:

GetBufnr()->win_findbuf()

Parameters

denops: Denops
bufnr: unknown

Returns

Promise<unknown[]>