mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-18 09:55:12 +02:00
fix(varcon)!: Add Interjection support
This commit is contained in:
@@ -124,6 +124,7 @@ pub enum Pos {
|
||||
Verb = 0x02,
|
||||
Adjective = 0x04,
|
||||
Adverb = 0x08,
|
||||
Interjection = 0x10,
|
||||
}
|
||||
|
||||
#[cfg(feature = "flags")]
|
||||
|
||||
@@ -1936,6 +1936,7 @@ impl Pos {
|
||||
"V".value(Pos::Verb),
|
||||
"Adj".value(Pos::Adjective),
|
||||
"Adv".value(Pos::Adverb),
|
||||
"Inj".value(Pos::Interjection),
|
||||
))
|
||||
.parse_next(input)
|
||||
})
|
||||
|
||||
@@ -182564,8 +182564,8 @@ Cluster {
|
||||
],
|
||||
},
|
||||
],
|
||||
pos: None, archaic: false, note: false,
|
||||
description: Some("<Inj> :2"),
|
||||
pos: Some(Pos::Interjection), archaic: false, note: false,
|
||||
description: Some(":2"),
|
||||
comment: None,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user