Skip to content

Commit

Permalink
Merge pull request #654 from dupgit/master
Browse files Browse the repository at this point in the history
Adds 'regylar' as a typo for 'regular'.
  • Loading branch information
epage authored Jan 18, 2023
2 parents 12c6491 + ee8446b commit dbd12ef
Show file tree
Hide file tree
Showing 2 changed files with 13 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 @@ -40525,6 +40525,7 @@ regural,regular
regurally,regularly
regurlarly,regularly
reguster,register
regylar,regular
rehabilitacion,rehabilitation
rehabilitaion,rehabilitation
rehabilitaiton,rehabilitation
Expand Down
13 changes: 12 additions & 1 deletion crates/typos-dict/src/dict_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43632,10 +43632,21 @@ static WORD_REG_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]
None,
None,
None,
None,
Some(&WORD_REGY_NODE),
None,
];

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

pub static WORD_REGY_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
keys: &[dictgen::InsensitiveStr::Ascii("lar")],
values: &[&["regular"]],
range: 3..=3,
};

static WORD_REGU_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
children: dictgen::DictTrieChild::Nested(&WORD_REGU_CHILDREN),
value: None,
Expand Down

0 comments on commit dbd12ef

Please sign in to comment.