mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-22 00:51:11 -05:00
fix(varcon)!: Add Preposition support
This commit is contained in:
parent
40fc92a6fc
commit
6ab147af94
3 changed files with 4 additions and 2 deletions
|
@ -125,6 +125,7 @@ pub enum Pos {
|
||||||
Adjective = 0x04,
|
Adjective = 0x04,
|
||||||
Adverb = 0x08,
|
Adverb = 0x08,
|
||||||
Interjection = 0x10,
|
Interjection = 0x10,
|
||||||
|
Preposition = 0x20,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(feature = "flags")]
|
#[cfg(feature = "flags")]
|
||||||
|
|
|
@ -1937,6 +1937,7 @@ impl Pos {
|
||||||
"Adj".value(Pos::Adjective),
|
"Adj".value(Pos::Adjective),
|
||||||
"Adv".value(Pos::Adverb),
|
"Adv".value(Pos::Adverb),
|
||||||
"Inj".value(Pos::Interjection),
|
"Inj".value(Pos::Interjection),
|
||||||
|
"Prep".value(Pos::Preposition),
|
||||||
))
|
))
|
||||||
.parse_next(input)
|
.parse_next(input)
|
||||||
})
|
})
|
||||||
|
|
|
@ -398756,8 +398756,8 @@ Cluster {
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
pos: None, archaic: false, note: false,
|
pos: Some(Pos::Preposition), archaic: false, note: false,
|
||||||
description: Some("<Prep>"),
|
description: None,
|
||||||
comment: None,
|
comment: None,
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue