Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
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.3.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>