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

x/denops_std/function/vim/mod.ts>popup_settext

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

Set the text of the buffer in popup win {id}. {text} is the same as supplied to popup_create(), except that a buffer number is not allowed. Does not change the window size or position, other than caused by the different text.

Can also be used as a method:

GetPopup()->popup_settext('hello')

Parameters

denops: Denops
id: unknown
text: unknown

Returns

Promise<void>