Commit e700dde
patch 9.1.1123: popup hi groups not falling back to defaults
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>1 parent 911742a commit e700dde
7 files changed
Lines changed: 21 additions & 17 deletions
File tree
- runtime/doc
- src
- testdir/dumps
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
504 | 504 | | |
505 | 505 | | |
506 | 506 | | |
507 | | - | |
| 507 | + | |
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
| |||
559 | 559 | | |
560 | 560 | | |
561 | 561 | | |
562 | | - | |
| 562 | + | |
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
5831 | 5831 | | |
5832 | 5832 | | |
5833 | 5833 | | |
5834 | | - | |
5835 | | - | |
| 5834 | + | |
| 5835 | + | |
5836 | 5836 | | |
5837 | 5837 | | |
5838 | 5838 | | |
| |||
5872 | 5872 | | |
5873 | 5873 | | |
5874 | 5874 | | |
| 5875 | + | |
| 5876 | + | |
| 5877 | + | |
5875 | 5878 | | |
5876 | 5879 | | |
5877 | | - | |
5878 | | - | |
| 5880 | + | |
| 5881 | + | |
5879 | 5882 | | |
5880 | 5883 | | |
5881 | 5884 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8191 | 8191 | | |
8192 | 8192 | | |
8193 | 8193 | | |
| 8194 | + | |
8194 | 8195 | | |
8195 | 8196 | | |
8196 | 8197 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
700 | | - | |
701 | | - | |
702 | 699 | | |
703 | 700 | | |
704 | 701 | | |
| |||
2006 | 2003 | | |
2007 | 2004 | | |
2008 | 2005 | | |
2009 | | - | |
2010 | | - | |
2011 | 2006 | | |
2012 | | - | |
| 2007 | + | |
2013 | 2008 | | |
2014 | 2009 | | |
2015 | 2010 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
704 | 704 | | |
705 | 705 | | |
706 | 706 | | |
| 707 | + | |
| 708 | + | |
707 | 709 | | |
708 | 710 | | |
709 | 711 | | |
| |||
0 commit comments