Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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@v5.0.1/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>