Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function nvim_ui_pum_set_bounds
import { nvim_ui_pum_set_bounds } from "https://deno.land/x/denops_std@v3.7.0/function/nvim/mod.ts";

Tells Nvim the geometry of the popumenu, to align floating windows with an external popup menu. Note that this method is not to be confused with |nvim_ui_pum_set_height()|, which sets the number of visible items in the popup menu, while this function sets the bounding box of the popup menu, including visual elements such as borders and sliders. Floats need not use the same font size, nor be anchored to exact grid corners, so one can set floating-point numbers to the popup menu geometry. Parameters: ~ {width} Popupmenu width. {height} Popupmenu height. {row} Popupmenu row. {col} Popupmenu height.

Parameters

denops: Denops
width: unknown
height: unknown
row: unknown
col: unknown

Returns

Promise<unknown>