diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index 7382c899..e04b2900 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -40525,6 +40525,7 @@ regural,regular regurally,regularly regurlarly,regularly reguster,register +regylar,regular rehabilitacion,rehabilitation rehabilitaion,rehabilitation rehabilitaiton,rehabilitation diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index 1e5fd53d..d5ce711d 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -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,