Skip to main content
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.4.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>