mirror of
https://github.com/vim/vim.git
synced 2025-09-29 04:34:16 -04:00
Problem: Highlight groups PopupSelected/PopupNotification/ MessageWindow are supposed to fall back to default highlight groups if they are not defined. However, once a colorscheme has defined them, switching to another colorscheme that doesn't do so will leave behind a cleared colorscheme, which causes the fallback to fail. Solution: Set up default links to the relevant fallback highlight groups, which makes sure a `:hi clear` command will reset the state properly (Yee Cheng Chin). closes: #16676 Signed-off-by: Yee Cheng Chin <ychin.git@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>