Skip to main content
Module

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

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

Tell Nvim to resize a grid. Triggers a grid_resize event with the requested grid size or the maximum size if it exceeds size limits.

On invalid grid handle, fails with error.

Attributes: RPC only

Parameters:

  • {grid} The handle of the grid to be changed.
  • {width} The new requested width.
  • {height} The new requested height.

Parameters

denops: Denops
grid: unknown
width: unknown
height: unknown

Returns

Promise<unknown>