Skip to main content
Module

x/denops_std/function/nvim/mod.ts>nvim_win_set_buf

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

Sets the current buffer in a window, without side effects

Attributes: not allowed when textlock is active

Parameters:

  • {window} Window handle, or 0 for current window
  • {buffer} Buffer handle

Parameters

denops: Denops
window: unknown
buffer: unknown

Returns

Promise<unknown>