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)