Currently, popup windows for general information display (documentation preview, plugin UI) use the Pmenu highlight group by default. But Pmenu is designed for completion menus — colorschemes make it dark to contrast with PmenuSel. This makes Pmenu too dark for general info popups, forcing colorscheme authors to choose: dark Pmenu (good for completion, bad for popups) or light Pmenu (good for popups, bad for completion). Neovim solves this with dedicated groups: NormalFloat, FloatBorder, FloatTitle, FloatShadow.
Add equivalent highlight groups to Vim:
Popup – popup content areaPopupBorder – border colorPopupTitle – title textFallback defaults: Popup links to Normal, PopupBorder links to Normal etc.
g:popup_highlight – but this is not standardized.As more plugins use popups for non-completion purposes (doc previews, floating trees), dedicated groups would align Vim with Neovim's approach. Vim already has popup-specific groups like PopupSelected — extending this family is natural.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()
@habamax What do you think about this?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.![]()