Skip to content

Add polymer Oxendict spelling corrections to typos.local.toml #62

Description

@coderabbitai

Summary

Add the polymer Oxendict spelling corrections to typos.local.toml under [words.corrections], mirroring the pairs currently hand-inserted in leynos/ortho-config's typos.toml. Do not touch scripts/generate_typos_config.py, which contains no static word list — it only merges the cached shared dictionary with typos.local.toml.

Required changes

Add these pairs (British → US) under [words.corrections] in typos.local.toml:

  • polymerisable -> polymerizable
  • polymerisably -> polymerizably
  • polymerisation -> polymerization
  • polymerisations -> polymerizations
  • polymerise -> polymerize
  • polymerised -> polymerized
  • polymeriser -> polymerizer
  • polymerisers -> polymerizers
  • polymerises -> polymerizes
  • polymerising -> polymerizing

After updating the overlay, run scripts/generate_typos_config.py (e.g. uv run scripts/generate_typos_config.py) to regenerate typos.toml deterministically.

Verification

  • Confirm the polymer entries reappear in the regenerated typos.toml.
  • Run the regeneration a second time and confirm the output is unchanged (deterministic, idempotent).

Rationale

These corrections are currently hand-inserted directly into typos.toml in leynos/ortho-config, which is a generated file. Moving them into the typos.local.toml overlay in this repository ensures they persist across regeneration and are available to all consumers of the shared dictionary.

Affected areas

  • typos.local.toml (add entries)
  • typos.toml (regenerated output, not directly edited)

References

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions