You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend YAML role-oracle to grade block-indicator/tag/directive/flow scopes
The scope-gap role-oracle emitted tokens for only 7 coarse roles, so four
YAML construct classes were never graded — any grammar scope silently
passed: block-scalar indicator (|/>), node tags (!!str), directives
(%YAML), and flow punctuation ([ ] { } ,). Add a role + neutral grading
entry for each (public TextMate convention = exact, the coarse alternative
each grammar may use = family) and split the block-scalar introducer from
its body so the introducer's scope is graded on its own.
The YAML headline drops from a blind-spot-inflated 100% to an honest 99.1%
(Monogram, vs official 98.9%) over 2034 graded tokens (was 1479): the
block-indicator role confirms the keyword.control.flow fix, tag/directive/
flow are family-correct (coarse but right family), and one real bug
surfaces — a document-root block scalar with column-0 content (--- | or
bare |) leaks its body to the directive rule.
0 commit comments