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