Commit 80ecebb
committed
fix: compare YAML against the maintained RedCMD grammar (not the dead bundle)
Correct the YAML baseline + its labeling. VS Code already switched YAML OFF the dead textmate/yaml.tmbundle to the maintained RedCMD/YAML-Syntax-Highlighter (microsoft/vscode#232244); VS Code's bundled YAML IS RedCMD (vendored), so scope-gap was already comparing against it — confirmed: RedCMD upstream gives the identical 89.7%/46.5%/-43.2.
- scope-gap-yaml.ts now DEFAULTS to RedCMD upstream (/tmp/redcmd-yaml; git clone --depth 1 https://github.com/RedCMD/YAML-Syntax-Highlighter). Its header had wrongly said 'VS Code's YAML grammar is the unmaintained textmate/yaml.tmbundle' — fixed.
- README: a note spells out which 'official' grammar each row compares against — HTML = dead textmate/html.tmbundle (the #203212 target), YAML = maintained RedCMD, JS/TS = Microsoft's TypeScript-TmLanguage. So YAML's -43 gap is Monogram vs a *maintained* grammar, not a dead bundle.
(RedCMD upstream's last commit is 2024-12-16 / tag 1.4.1 — far fresher than textmate's 6y, but ~18mo stale by 2026-06, so 'current upstream' is more precise than 'actively maintained'.)1 parent ed0f22e commit 80ecebb
2 files changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
9 | 14 | | |
10 | 15 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
0 commit comments