From 7cd5a8c99f29688d42ff5979600a390736432980 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Thu, 23 Feb 2023 10:24:07 -0600 Subject: [PATCH] fix(dict): Don't correct Referer --- crates/typos-dict/assets/allowed.csv | 1 + crates/typos-dict/assets/words.csv | 1 - crates/typos-dict/src/dict_codegen.rs | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/typos-dict/assets/allowed.csv b/crates/typos-dict/assets/allowed.csv index 68663ba..fd21bed 100644 --- a/crates/typos-dict/assets/allowed.csv +++ b/crates/typos-dict/assets/allowed.csv @@ -1,3 +1,4 @@ nilable,used in ruby community thead,html tag hardlinked,filesystem term +referer,http header field diff --git a/crates/typos-dict/assets/words.csv b/crates/typos-dict/assets/words.csv index f9967bd..7e00532 100644 --- a/crates/typos-dict/assets/words.csv +++ b/crates/typos-dict/assets/words.csv @@ -40237,7 +40237,6 @@ referenses,referees,references referentes,references referenz,reference referenzes,references -referer,referrer refererd,referred referere,referee refererence,reference diff --git a/crates/typos-dict/src/dict_codegen.rs b/crates/typos-dict/src/dict_codegen.rs index e62544c..9f0de92 100644 --- a/crates/typos-dict/src/dict_codegen.rs +++ b/crates/typos-dict/src/dict_codegen.rs @@ -44683,7 +44683,6 @@ pub static WORD_REFERE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d dictgen::InsensitiveStr::Ascii("ntes"), dictgen::InsensitiveStr::Ascii("nz"), dictgen::InsensitiveStr::Ascii("nzes"), - dictgen::InsensitiveStr::Ascii("r"), dictgen::InsensitiveStr::Ascii("rd"), dictgen::InsensitiveStr::Ascii("re"), dictgen::InsensitiveStr::Ascii("rence"), @@ -44730,7 +44729,6 @@ pub static WORD_REFERE_CHILDREN: dictgen::DictTable<&'static [&'static str]> = d &["references"], &["reference"], &["references"], - &["referrer"], &["referred"], &["referee"], &["reference"],