mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-24 18:10:56 -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,
|
||||
Adverb = 0x08,
|
||||
Interjection = 0x10,
|
||||
Preposition = 0x20,
|
||||
}
|
||||
|
||||
#[cfg(feature = "flags")]
|
||||
|
|
|
@ -1937,6 +1937,7 @@ impl Pos {
|
|||
"Adj".value(Pos::Adjective),
|
||||
"Adv".value(Pos::Adverb),
|
||||
"Inj".value(Pos::Interjection),
|
||||
"Prep".value(Pos::Preposition),
|
||||
))
|
||||
.parse_next(input)
|
||||
})
|
||||
|
|
|
@ -398756,8 +398756,8 @@ Cluster {
|
|||
],
|
||||
},
|
||||
],
|
||||
pos: None, archaic: false, note: false,
|
||||
description: Some("<Prep>"),
|
||||
pos: Some(Pos::Preposition), archaic: false, note: false,
|
||||
description: None,
|
||||
comment: None,
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue