Skip to content

Commit

Permalink
Merge pull request #669 from jplatte/jplatte/encryption
Browse files Browse the repository at this point in the history
feat(dict): Add more encryption-related typos
  • Loading branch information
epage authored Feb 28, 2023
2 parents 9f306b2 + afcd316 commit 7ca446d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 2 deletions.
6 changes: 6 additions & 0 deletions crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -14742,6 +14742,9 @@ dervie,derive
dervied,derived
dervies,derives
dervived,derived
derypt,decrypt
derypted,decrypted
deryption,decryption
desactivate,deactivate
desactivated,deactivated
desallocate,deallocate
Expand Down Expand Up @@ -18399,6 +18402,9 @@ enrolement,enrollment
enrollemnt,enrollment
enrties,entries
enrty,entry
enrypt,encrypt
enrypted,encrypted
enryption,encryption
ensalve,enslave
ensalved,enslaved
ensconsed,ensconced
Expand Down
30 changes: 28 additions & 2 deletions crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116988,8 +116988,19 @@ pub static WORD_ENR_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
dictgen::InsensitiveStr::Ascii("ollemnt"),
dictgen::InsensitiveStr::Ascii("ties"),
dictgen::InsensitiveStr::Ascii("ty"),
dictgen::InsensitiveStr::Ascii("ypt"),
dictgen::InsensitiveStr::Ascii("ypted"),
dictgen::InsensitiveStr::Ascii("yption"),
],
values: &[
&["enrollment"],
&["enrollment"],
&["entries"],
&["entry"],
&["encrypt"],
&["encrypted"],
&["encryption"],
],
values: &[&["enrollment"], &["enrollment"], &["entries"], &["entry"]],
range: 2..=7,
};

Expand Down Expand Up @@ -129408,10 +129419,25 @@ static WORD_DER_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]
Some(&WORD_DERV_NODE),
None,
None,
None,
Some(&WORD_DERY_NODE),
None,
];

static WORD_DERY_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
children: dictgen::DictTrieChild::Flat(&WORD_DERY_CHILDREN),
value: None,
};

pub static WORD_DERY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
keys: &[
dictgen::InsensitiveStr::Ascii("pt"),
dictgen::InsensitiveStr::Ascii("pted"),
dictgen::InsensitiveStr::Ascii("ption"),
],
values: &[&["decrypt"], &["decrypted"], &["decryption"]],
range: 2..=5,
};

static WORD_DERV_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
children: dictgen::DictTrieChild::Flat(&WORD_DERV_CHILDREN),
value: None,
Expand Down

0 comments on commit 7ca446d

Please sign in to comment.