]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1856: cannot style popup window (border, shadow, etc) v9.1.1856
authorGirish Palya <girishji@gmail.com>
Tue, 14 Oct 2025 18:48:36 +0000 (18:48 +0000)
committerChristian Brabandt <cb@256bit.org>
Tue, 14 Oct 2025 18:48:36 +0000 (18:48 +0000)
commit1a09f11f5d96f169d40eb74c260a8520efd10558
treef9090b89cdeaf4f01aa19a2cfc3967accbfae0f1
parente15cd0f0656b84aa363d93545289aa1d4fe51925
patch 9.1.1856: cannot style popup window (border, shadow, etc)

Problem:  cannot style popup window (border, shadow, etc)
Solution: Extend the 'completepopup' option with additional properties
          (Girish Palya)

This patch extends the 'completepopup' option with additional settings
to allow more configuration of info popup window.

New values:
```
- close           "on" (default) or "off"
- resize          "on" (default) or "off"
- borderchars     specify eight characters (separated by semicolons) to
                  draw the popup border: top, right, bottom, left,
                  topleft, topright, botright, botleft.
- borderhighlight highlight group for the popup border characters
- shadow          pum shadow
```

closes: #18487

Signed-off-by: Girish Palya <girishji@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
12 files changed:
runtime/doc/insert.txt
runtime/doc/options.txt
runtime/doc/version9.txt
src/optiondefs.h
src/optionstr.c
src/popupwin.c
src/proto/optionstr.pro
src/structs.h
src/testdir/dumps/Test_popupwin_infopopup_9.dump [new file with mode: 0644]
src/testdir/test_options.vim
src/testdir/test_popupwin.vim
src/version.c