Skip to content

Commit

Permalink
Merge pull request #569 from jplatte/stte
Browse files Browse the repository at this point in the history
feat(dict): Add 'stte' typo
  • Loading branch information
epage authored Sep 15, 2022
2 parents 7be4ba3 + e8e20f2 commit 8889a14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -46269,6 +46269,7 @@ struture,structure
strwaberry,strawberry
stryofoam,styrofoam
ststr,strstr
stte,state
stteting,setting
sttetings,settings
stting,string,setting,sitting
Expand Down
4 changes: 3 additions & 1 deletion crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23387,20 +23387,22 @@ static WORD_STT_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::

pub static WORD_STT_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
keys: &[
dictgen::InsensitiveStr::Ascii("e"),
dictgen::InsensitiveStr::Ascii("eting"),
dictgen::InsensitiveStr::Ascii("etings"),
dictgen::InsensitiveStr::Ascii("ing"),
dictgen::InsensitiveStr::Ascii("ings"),
dictgen::InsensitiveStr::Ascii("utering"),
],
values: &[
&["state"],
&["setting"],
&["settings"],
&["string", "setting", "sitting"],
&["strings", "settings", "sittings"],
&["stuttering"],
],
range: 3..=7,
range: 1..=7,
};

static WORD_STS_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
Expand Down

0 comments on commit 8889a14

Please sign in to comment.