Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(dict): Don't correct ans #981

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions crates/typos-dict/assets/allowed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,4 @@ ro,acronym for read-only
dur,abbreviation for duration
ang,abbreviation for angle
lst,abbreviation for list especially when list is a built-in like Python
ans,abbrevation for answer
1 change: 0 additions & 1 deletion crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -3383,7 +3383,6 @@ anpitheater,amphitheater
anpitheaters,amphitheaters
anrachist,anarchist
anroid,android
ans,and
ansalisation,nasalisation
ansalization,nasalization
ansamble,ensemble
Expand Down
2 changes: 1 addition & 1 deletion crates/typos-dict/src/word_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207852,7 +207852,7 @@ pub static WORD_ANTA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic

static WORD_ANS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
children: dictgen::DictTrieChild::Flat(&WORD_ANS_CHILDREN),
value: Some(&["and"]),
value: None,
};

pub static WORD_ANS_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
Expand Down
Loading