From dcbb1cafd241831421fb7cd49646d4a0edbeef4d Mon Sep 17 00:00:00 2001 From: Jordan Petridis Date: Fri, 5 Apr 2024 11:51:11 +0300 Subject: [PATCH] Don't correct `HD` Common abbreviation for High Definition --- crates/typos-dict/assets/allowed.csv | 1 + crates/typos-dict/assets/words.csv | 1 - crates/typos-dict/src/word_codegen.rs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index 8f2d396..b5d7adf 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -1,6 +1,7 @@ nilable,used in ruby community thead,html tag hardlinked,filesystem term +hd, abbreviation for High Definition referer,http header field deques,noun dequeues,verb diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index a68ec01..7e9f1d9 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -28613,7 +28613,6 @@ havve,have hax,hex haynus,heinous hazzle,hassle -hd,had hda,had hdinsight,hindsight heacy,heavy diff --git a/crates/typos-dict/src/word_codegen.rs b/crates/typos-dict/src/word_codegen.rs index b59206c..400b242 100644 --- a/crates/typos-dict/src/word_codegen.rs +++ b/crates/typos-dict/src/word_codegen.rs @@ -123631,7 +123631,7 @@ pub static WORD_HEAC_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic static WORD_HD_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode { children: dictgen::DictTrieChild::Flat(&WORD_HD_CHILDREN), - value: Some(&["had"]), + value: None, }; pub static WORD_HD_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {