diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index d2e79b7..8f2d396 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -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 diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index ba0d079..a68ec01 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -3383,7 +3383,6 @@ anpitheater,amphitheater anpitheaters,amphitheaters anrachist,anarchist anroid,android -ans,and ansalisation,nasalisation ansalization,nasalization ansamble,ensemble diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index 12b0c05..b59206c 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -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 {