feat(all): introduce disable typos

This commit is contained in:
ad hoc 2022-03-17 11:59:35 +01:00
parent 27a88bcd47
commit dd43ba6234
No known key found for this signature in database
GPG Key ID: 4F00A782990CC643

View File

@ -397,6 +397,8 @@ pub fn apply_settings_to_builder(
Setting::Reset => {
// all typo settings need to be reset here.
builder.reset_authorize_typos();
builder.reset_min_word_len_one_typo();
builder.reset_min_word_len_two_typos();
}
Setting::NotSet => (),
}