Skip to content

Allow default.extend-words to work across punctuation #400

@aaronraimist

Description

@aaronraimist

Fuj'ehr, json-clos, add-ons and raim.ist are marked as misspelled by typos which is generally fine, other than add-ons which probably shouldn't be corrected. However the only way to mark them as false positives is to write partial words in the config file like:

[default.extend-words]
ehr = "ehr"
clos = "clos"
ons = "ons"
ist = "ist"

It would be nice to be able to write out the entire word like:

[default.extend-words]
"Fuj'ehr" = "Fuj'ehr"
"json-clos" = "json-clos"
"add-ons" = "add-ons"
"raim.ist = "raim.ist"

This would give more context to what the false positive is and to reduce likelihood of not catching a real misspelling in the future.

Possibly related to #399

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-tokenArea: tokenization, including definition of identifiers and wordsC-enhancementCategory: Raise on the bar on expectationsS-waiting-on-decisionStatus: Waiting on a go/no-go before implementing

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions