Skip to main content
The Deno 2 Release Candidate is 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@v4.1.4/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>