Skip to main content
Module

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

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

Configures window layout. Currently only for floating and external windows (including changing a split window to those layouts).

When reconfiguring a floating window, absent option keys will not be changed. row/col and relative must be reconfigured together.

Parameters:

  • {window} Window handle, or 0 for current window
  • {config} Map defining the window configuration, see nvim_open_win()

See also:

  • nvim_open_win()

Parameters

denops: Denops
window: number
config: Partial<NvimOpenWinConfig>

Returns

Promise<void>