Skip to main content
Module

x/ddc_vim/deps.ts>fn.pum_getpos

Dark deno-powered completion framework for neovim/Vim
Latest
function fn.pum_getpos
import { fn } from "https://deno.land/x/ddc_vim@v4.3.1/deps.ts";
const { pum_getpos } = fn;

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>>