import { popup_atcursor } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.ts";
Show the {what} above the cursor, and close it when the cursor moves. This works like:
call popup_create({what}, #{
\ pos: 'botleft',
\ line: 'cursor-1',
\ col: 'cursor',
\ moved: 'WORD',
\ })
Use {options} to change the properties. If "pos" is passed as "topleft" then the default for "line" becomes "cursor+1".
Can also be used as a method
:
GetText()->popup_atcursor({})