Skip to content

Commit

Permalink
fix(dict): Don't correct the doas command
Browse files Browse the repository at this point in the history
Fixes #1003
  • Loading branch information
epage committed Apr 23, 2024
1 parent 44548ad commit 2e5ea3a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 1 addition & 0 deletions crates/typos-dict/assets/allowed.csv
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,4 @@ ans,abbreviation for answer
automations,while automation is uncountable there are cases where automations works like with iPhone automations
inout,keyword in many languages but used in many more
kms,common enough acronym for Key Management Service
doas,built-in OpenBSD alternative to sudo (and has been ported to other systems)
1 change: 0 additions & 1 deletion crates/typos-dict/assets/words.csv
Original file line number Diff line number Diff line change
Expand Up @@ -20417,7 +20417,6 @@ doamin,domain,dopamine
doamine,dopamine,domain
doamins,domains
doapmine,dopamine
doas,does
doble,double
dobled,doubled
dobles,doubles
Expand Down
4 changes: 1 addition & 3 deletions crates/typos-dict/src/word_codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150892,7 +150892,6 @@ pub static WORD_DOA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
dictgen::InsensitiveStr::Ascii("mine"),
dictgen::InsensitiveStr::Ascii("mins"),
dictgen::InsensitiveStr::Ascii("pmine"),
dictgen::InsensitiveStr::Ascii("s"),
],
values: &[
&["diagonal"],
Expand All @@ -150902,9 +150901,8 @@ pub static WORD_DOA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dict
&["dopamine", "domain"],
&["domains"],
&["dopamine"],
&["does"],
],
range: 1..=6,
range: 3..=6,
};

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

0 comments on commit 2e5ea3a

Please sign in to comment.