mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -05:00
fix: Don't correct eof
This commit is contained in:
parent
0d94ce21d0
commit
68e8611ef5
3 changed files with 3 additions and 13 deletions
2
crates/typos-dict/assets/allowed.csv
vendored
2
crates/typos-dict/assets/allowed.csv
vendored
|
@ -20,3 +20,5 @@ revered,valid word and not just a typoe of `reversed`
|
||||||
recuse,valid word despite maybe being a typo of recurse
|
recuse,valid word despite maybe being a typo of recurse
|
||||||
shttp,also a protocol
|
shttp,also a protocol
|
||||||
foldr,short for fold-right
|
foldr,short for fold-right
|
||||||
|
eof,end-of-file in programming
|
||||||
|
eol,end-of-line in programming
|
||||||
|
|
|
1
crates/typos-dict/assets/words.csv
vendored
1
crates/typos-dict/assets/words.csv
vendored
|
@ -22669,7 +22669,6 @@ envvironment,environment
|
||||||
enxt,next
|
enxt,next
|
||||||
enything,anything
|
enything,anything
|
||||||
enyway,anyway
|
enyway,anyway
|
||||||
eof,of
|
|
||||||
epecifica,especifica
|
epecifica,especifica
|
||||||
epect,expect
|
epect,expect
|
||||||
epected,expected
|
epected,expected
|
||||||
|
|
Can't render this file because it is too large.
|
|
@ -134871,7 +134871,7 @@ static WORD_E_CHILDREN: [Option<&dictgen::DictTrieNode<&'static [&'static str]>>
|
||||||
Some(&WORD_EL_NODE),
|
Some(&WORD_EL_NODE),
|
||||||
Some(&WORD_EM_NODE),
|
Some(&WORD_EM_NODE),
|
||||||
Some(&WORD_EN_NODE),
|
Some(&WORD_EN_NODE),
|
||||||
Some(&WORD_EO_NODE),
|
None,
|
||||||
Some(&WORD_EP_NODE),
|
Some(&WORD_EP_NODE),
|
||||||
Some(&WORD_EQ_NODE),
|
Some(&WORD_EQ_NODE),
|
||||||
Some(&WORD_ER_NODE),
|
Some(&WORD_ER_NODE),
|
||||||
|
@ -143333,17 +143333,6 @@ pub static WORD_EP_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictg
|
||||||
range: 2..=10,
|
range: 2..=10,
|
||||||
};
|
};
|
||||||
|
|
||||||
static WORD_EO_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
|
||||||
children: dictgen::DictTrieChild::Flat(&WORD_EO_CHILDREN),
|
|
||||||
value: None,
|
|
||||||
};
|
|
||||||
|
|
||||||
pub static WORD_EO_CHILDREN: dictgen::DictTable<&'static [&'static str]> = dictgen::DictTable {
|
|
||||||
keys: &[dictgen::InsensitiveStr::Ascii("f")],
|
|
||||||
values: &[&["of"]],
|
|
||||||
range: 1..=1,
|
|
||||||
};
|
|
||||||
|
|
||||||
static WORD_EN_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
static WORD_EN_NODE: dictgen::DictTrieNode<&'static [&'static str]> = dictgen::DictTrieNode {
|
||||||
children: dictgen::DictTrieChild::Nested(&WORD_EN_CHILDREN),
|
children: dictgen::DictTrieChild::Nested(&WORD_EN_CHILDREN),
|
||||||
value: None,
|
value: None,
|
||||||
|
|
Loading…
Reference in a new issue