import { nvim_win_call } from "https://deno.land/x/denops_std@v5.0.2/function/nvim/mod.ts";
Calls a function with window as temporary current window.
Attributes:
vim.api
only
Parameters: {window} Window handle, or 0 for current window {fun} Function to call inside the window (currently lua callable only)
Return: Return value of function. NB: will deepcopy lua values currently, use upvalues to send lua references in and out.
See also:
win_execute()
nvim_buf_call()