Repository navigation
Commit 6384d96
fix(web): cover the SSR settings preview highlighter site; trim engine comment
Macroscope review: SettingsFontPreviews' preloadPatchFile call reaches
DiffHunksRenderer.initializeHighlighter, which creates the shared
first-caller-wins singleton with the library's shiki-js default. Opening
Appearance settings before any diff/file surface would pin the JS regex
engine for the whole session. Pass PREFERRED_HIGHLIGHTER there too, and
trim the incident detail out of the constant's doc comment.1 parent 5f15603 commit 6384d96
2 files changed
Lines changed: 4 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
79 | 80 | | |
80 | 81 | | |
81 | 82 | | |
82 | | - | |
| 83 | + | |
83 | 84 | | |
84 | 85 | | |
85 | 86 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 11 | + | |
| 12 | + | |
15 | 13 | | |
16 | 14 | | |
17 | 15 | | |
| |||
0 commit comments