Skip to main content
Module

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

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

Sets the window width. This will only succeed if the screen is split vertically.

Parameters:

  • {window} Window handle, or 0 for current window
  • {width} Width as a count of columns

Parameters

denops: Denops
window: unknown
width: unknown

Returns

Promise<unknown>