Skip to content

Commit

Permalink
fix(dict): Don't correct ans
Browse files Browse the repository at this point in the history
Fixes #980
  • Loading branch information
epage committed Apr 4, 2024
1 parent ae0de18 commit 47790f2
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
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

0 comments on commit 47790f2

Please sign in to comment.