Commit 28af3f6
[hlsearch] add note about two-attribute highlight model #2861
Traced through code and confirmed clear_search() always wipes both
scopes before setting a new pattern, so the or in drawRow never
chooses between two live patterns. Left a comment for future readers.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1daac94 commit 28af3f6
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
| |||
0 commit comments