Skip to main content
Go to Latest
function popup_setoptions
import { popup_setoptions } from "https://deno.land/x/denops_std@v6.4.0/function/vim/popup_setoptions.ts";

Override options in popup {id} with entries in {options}. These options can be set: border borderchars borderhighlight callback close cursorline drag filter firstline flip highlight mapping mask moved padding resize scrollbar scrollbarhighlight thumbhighlight time title wrap zindex The options from popup_move() can also be used. Generally, setting an option to zero or an empty string resets it to the default value, but there are exceptions. For "hidden" use popup_hide() and popup_show(). "tabpage" cannot be changed.

Can also be used as a method:

GetPopup()->popup_setoptions(options)

Parameters

denops: Denops
id: number

Returns

Promise<void>