feat(ui): 'pumborder' (popup menu border) #25541

Problem:
Popup menu cannot have a border.

Solution:
Support 'pumborder' option.
Generalize `win_redr_border` to `grid_redr_border`,
which redraws border for window grid and pum grid.
This commit is contained in:
glepnir
2025-10-10 22:14:50 +08:00
committed by GitHub
parent 9c89212de1
commit fafc329bbd
17 changed files with 649 additions and 133 deletions

View File

@@ -258,11 +258,11 @@ describe('ui/cursor', function()
end
end
if m.hl_id then
m.hl_id = 66
m.hl_id = 67
m.attr = { background = Screen.colors.DarkGray }
end
if m.id_lm then
m.id_lm = 77
m.id_lm = 78
m.attr_lm = {}
end
end