Skip to main content
Module

x/denops_std/function/mod.ts>pum_getpos

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

If the popup menu (see ins-completion-menu) is not visible, returns an empty Dictionary, otherwise, returns a Dictionary with the following keys: height nr of items visible width screen cells row top screen row (0 first row) col leftmost screen column (0 first col) size total nr of items scrollbar TRUE if scrollbar is visible

The values are the same as in v:event during CompleteChanged.

Returns

Promise<Record<string, unknown>>