Skip to content

docs: document the scripts field on dictionary contributions#2

Merged
hamidfzm merged 1 commit into
mainfrom
docs/dictionary-scripts-field
Jul 17, 2026
Merged

docs: document the scripts field on dictionary contributions#2
hamidfzm merged 1 commit into
mainfrom
docs/dictionary-scripts-field

Conversation

@hamidfzm

Copy link
Copy Markdown
Member

Documents the optional scripts field on ctx.spellcheck.registerDictionary, shipped host-side in hamidfzm/glyph#469: coverage is declared as ISO 15924 codes or inferred from the language code, words in scripts no enabled dictionary covers are skipped, composite codes (Jpan, Kore, Hans, Hant) expand to their constituent scripts, and unknown names log a warning instead of silently covering nothing.

Companion to glyph-md/plugin-template's matching types update.

Covers the script-aware checking shipped in hamidfzm/glyph#469: coverage
declared or inferred per dictionary, words in uncovered scripts skipped,
composite ISO codes expanded, unknown names warned about.
@hamidfzm hamidfzm self-assigned this Jul 17, 2026
@hamidfzm
hamidfzm merged commit f3a3ecb into main Jul 17, 2026
1 check passed
@hamidfzm
hamidfzm deleted the docs/dictionary-scripts-field branch July 17, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant