import { nvim_win_call } from "https://deno.land/x/denops_std@v6.4.0/function/nvim/mod.ts";
Calls a function with window as temporary current window.
Attributes:
Lua 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()