mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-23 08:02:15 -05:00
commit
5896efe198
3 changed files with 49 additions and 2 deletions
1
crates/typos-dict/assets/words.csv
vendored
1
crates/typos-dict/assets/words.csv
vendored
|
@ -48345,6 +48345,7 @@ thast,that
|
||||||
thatn,that,than
|
thatn,that,than
|
||||||
thay,they
|
thay,they
|
||||||
thck,thick
|
thck,thick
|
||||||
|
thead,thread
|
||||||
theard,thread
|
theard,thread
|
||||||
thearding,threading
|
thearding,threading
|
||||||
theards,threads
|
theards,threads
|
||||||
|
|
Can't render this file because it is too large.
|
|
@ -16217,6 +16217,7 @@ static WORD_THEA_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen:
|
||||||
|
|
||||||
pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
||||||
keys: &[
|
keys: &[
|
||||||
|
dictgen::InsensitiveStr::Ascii("d"),
|
||||||
dictgen::InsensitiveStr::Ascii("rd"),
|
dictgen::InsensitiveStr::Ascii("rd"),
|
||||||
dictgen::InsensitiveStr::Ascii("rding"),
|
dictgen::InsensitiveStr::Ascii("rding"),
|
||||||
dictgen::InsensitiveStr::Ascii("rds"),
|
dictgen::InsensitiveStr::Ascii("rds"),
|
||||||
|
@ -16227,6 +16228,7 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic
|
||||||
dictgen::InsensitiveStr::Ascii("ture"),
|
dictgen::InsensitiveStr::Ascii("ture"),
|
||||||
],
|
],
|
||||||
values: &[
|
values: &[
|
||||||
|
&["thread"],
|
||||||
&["thread"],
|
&["thread"],
|
||||||
&["threading"],
|
&["threading"],
|
||||||
&["threads"],
|
&["threads"],
|
||||||
|
@ -16236,7 +16238,7 @@ pub static WORD_THEA_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dic
|
||||||
&["theatre"],
|
&["theatre"],
|
||||||
&["theatre"],
|
&["theatre"],
|
||||||
],
|
],
|
||||||
range: 2..=5,
|
range: 1..=5,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WORD_THC_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_THC_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
|
|
|
@ -179,14 +179,58 @@ impl TypeEngineConfig {
|
||||||
..Default::default()
|
..Default::default()
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
patterns
|
||||||
|
.entry("html".into())
|
||||||
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
extend_glob: Vec::new(),
|
||||||
|
engine: EngineConfig {
|
||||||
|
dict: Some(DictConfig {
|
||||||
|
extend_identifiers: maplit::hashmap! {
|
||||||
|
"thead".into() => "thead".into(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
|
});
|
||||||
|
patterns
|
||||||
|
.entry("vim".into())
|
||||||
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
extend_glob: Vec::new(),
|
||||||
|
engine: EngineConfig {
|
||||||
|
dict: Some(DictConfig {
|
||||||
|
extend_identifiers: maplit::hashmap! {
|
||||||
|
"windo".into() => "windo".into(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
|
});
|
||||||
|
patterns
|
||||||
|
.entry("vimscript".into())
|
||||||
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
|
extend_glob: Vec::new(),
|
||||||
|
engine: EngineConfig {
|
||||||
|
dict: Some(DictConfig {
|
||||||
|
extend_identifiers: maplit::hashmap! {
|
||||||
|
"windo".into() => "windo".into(),
|
||||||
|
},
|
||||||
|
..Default::default()
|
||||||
|
}),
|
||||||
|
..Default::default()
|
||||||
|
},
|
||||||
|
});
|
||||||
patterns
|
patterns
|
||||||
.entry("rust".into())
|
.entry("rust".into())
|
||||||
.or_insert_with(|| GlobEngineConfig {
|
.or_insert_with(|| GlobEngineConfig {
|
||||||
extend_glob: Vec::new(),
|
extend_glob: Vec::new(),
|
||||||
engine: EngineConfig {
|
engine: EngineConfig {
|
||||||
dict: Some(DictConfig {
|
dict: Some(DictConfig {
|
||||||
|
extend_identifiers: maplit::hashmap! {
|
||||||
|
"flate2".into() => "flate2".into(),
|
||||||
|
},
|
||||||
extend_words: maplit::hashmap! {
|
extend_words: maplit::hashmap! {
|
||||||
"flate".into() => "flate".into(),
|
|
||||||
"ser".into() => "ser".into(),
|
"ser".into() => "ser".into(),
|
||||||
},
|
},
|
||||||
..Default::default()
|
..Default::default()
|
||||||
|
|
Loading…
Reference in a new issue