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

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[]>