Files
neovim/runtime/doc
glepnir 072f126453 fix(ui): 'pumborder' parsing, shadow #36127
Problem:
1. Setting `pumborder=+,+,+,+,+,+,+,+` failed to render the custom
   border characters correctly. The issue occurred in `parse_winborder()`
   where it incorrectly used `p_winborder` instead of the `border_opt`
   parameter when the option value didn't contain commas.
2. In `pum_redraw()`, calling `parse_border_style()` directly with the
   option string failed to parse comma-separated border characters.
3. Missing documentation for PmenuShadow and PmenuShadowThrough
   highlight groups used by the shadow border style.
4. Coverity reports CID 631420: passing WinConfig (480 bytes) by value
   in `grid_draw_border()`.
5. crash when using `shadow` value on pumborder.

Solution:
1. Fix `parse_winborder()` to use `border_opt` parameter consistently,
   ensuring the correct option value is parsed regardless of which
   option (winborder/pumborder) is being set.
2. Update `pum_redraw()` to call `parse_winborder()` instead of
   `parse_border_style()`, properly handling both predefined styles
   and custom comma-separated border characters.
3. Add documentation for PmenuShadow (blended shadow areas) and
   PmenuShadowThrough (see-through corners) highlight groups.
4. Change `grid_draw_border()` to accept WinConfig by pointer.
5. When the "shadow" style is used, no additional row and column offset
   is applied, and the border width is reduced.
2025-10-11 19:48:27 -07:00
..
2025-09-16 11:41:36 +08:00
2025-09-28 20:57:59 -07:00
2023-07-25 05:07:13 -07:00
2025-09-03 23:03:51 -04:00
2025-07-10 21:50:46 -04:00
2025-05-03 10:08:53 -07:00
2024-05-15 23:19:26 +02:00
2025-04-27 15:44:11 -07:00
2025-09-16 11:41:36 +08:00
2023-06-25 17:14:28 +02:00
2025-09-13 22:49:50 -04:00
2025-09-17 09:09:49 -07:00
2025-09-10 21:16:13 -07:00
2025-09-28 20:57:59 -07:00
2025-09-13 22:49:50 -04:00
2025-06-14 17:24:36 +02:00
2025-05-03 10:08:53 -07:00
2025-09-03 23:03:51 -04:00
2022-10-14 08:01:13 -07:00
2025-09-28 20:57:59 -07:00
2025-09-16 11:41:36 +08:00
2024-01-18 00:14:48 -08:00
2025-05-03 15:47:59 -07:00
2023-08-10 17:28:02 +08:00
2025-01-03 08:29:36 -08:00
2024-04-23 08:20:36 +08:00
2024-05-11 18:14:03 +08:00
2023-04-23 15:22:55 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-07-25 05:07:13 -07:00
2025-06-18 12:12:23 +02:00
2023-06-19 08:40:33 -07:00