Commit 62c7191
committed
fix(inline): remove hl_mode combine from link extmarks to prevent ghost underlines
Remove hl_mode="combine" from the concealing extmarks in
link_hyperlink and link_image. When a link URL is concealed, the
virtual text highlight (e.g. underline) bled across every concealed
byte, producing ghost underlines on phantom screen rows created by
soft-wrap of the hidden text.
Add inline conceal torture section to stress test.1 parent 506e500 commit 62c7191
2 files changed
Lines changed: 28 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
615 | 615 | | |
616 | 616 | | |
617 | 617 | | |
| 618 | + | |
| 619 | + | |
| 620 | + | |
| 621 | + | |
| 622 | + | |
618 | 623 | | |
619 | 624 | | |
620 | 625 | | |
| |||
626 | 631 | | |
627 | 632 | | |
628 | 633 | | |
629 | | - | |
630 | | - | |
631 | 634 | | |
632 | 635 | | |
633 | 636 | | |
| |||
734 | 737 | | |
735 | 738 | | |
736 | 739 | | |
| 740 | + | |
| 741 | + | |
737 | 742 | | |
738 | 743 | | |
739 | 744 | | |
| |||
745 | 750 | | |
746 | 751 | | |
747 | 752 | | |
748 | | - | |
749 | | - | |
750 | 753 | | |
751 | 754 | | |
752 | 755 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
15 | 36 | | |
16 | 37 | | |
17 | 38 | | |
| |||
0 commit comments