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

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

๐Ÿ“š Standard module for denops.vim
Go to Latest
function popup_setoptions
import { popup_setoptions } from "https://deno.land/x/denops_std@v6.3.0/function/vim/mod.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: unknown
options: unknown

Returns

Promise<void>