Should be merged after #18486.
This patch extends the 'completepopup' option with additional settings. Also, adds "shadow" effect to the info popup window.
New values:
close show close button: "on" (default) or "off"
resize show resize handle: "on" (default) or "off"
borderchars eight characters separated by semicolons, in the
order: top, right, bottom, left,
topleft, topright, botright, botleft.
borderhighlight highlight group of the popup border characters
shadow "off" (default) or "on" using |hl-PmenuShadow|
https://github.com/vim/vim/pull/18487
(13 files)
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
@girishji pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.
is it feasible to extend border
too to have values similar to pumborder
, e.g.
on
/off
as of now
plus the next implying on
:
"single" use thin box-drawing characters
"double" use double-line box-drawing characters
"round" use rounded corners
"ascii" use ASCII characters (-, |, +)
"custom:X;X;X;X;X;X;X;X"
use eight characters separated by semicolons, in the
order: top, right, bottom, left,
topleft, topright, botright, botleft
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
You want to replace on
and off
with those values? How to keep it backward compatible?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
I don't think this would work and I think it would break scripts that query the popup_getoptions()
value (also the return value is strange according to the documentation). Instead perhaps use "borderstyle"?
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
Indeed, borderstyle sounds better.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.
You want to replace
on
andoff
with those values?Or, make
on
=double
but keep it hidden for backward compatibility.
I was about on
being an alias of double
, off
is just off, and the rest is just additional values of border
. With this it would have been backward compatible and aligned with pumborder
.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.