View on GitHub

check-spelling-docs

Documentation for check-spelling

Disable word collating

Generally, dictionaries only have one form of a word (possibly: lowercase, Uppercase, or ALL) ranging from the most general to the most specific. To work with this constraint, check-spelling performs at least a case fold after checking for a perfect hit in the dictionary (this doesn't actually cover the Uppercase form, but it hasn't generally been a big problem).

Beyond that, the core for check-spelling assumed that it was useful to group related words together (this included plurals, possessives, and verbs in the past tense). Doing so could reduce the size of an expect.txt file, but it does lead to confusing behaviors when a root word comes/goes leaving only a plural form, or similarly, when one case of a word comes/goes while another remains.

If you're finding this behavior too confusing, or just want all forms to be listed individually, you can add:

with:
  disable_checks: word-collating

to your configuration.

Warning

There are actually two places where check-spelling does folding:

Sample consumers

cspell compact-dictionaries workflow


FAQ | Showcase | Event descriptions | Configuration information | Known Issues | Possible features | Deprecations | Release notes | Helpful scripts