mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -05:00
fix(cli): Allow Nd in man pages
This commit is contained in:
parent
6f0c32c802
commit
5181c42c57
1 changed files with 9 additions and 0 deletions
|
@ -7,6 +7,15 @@
|
||||||
pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
|
pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];
|
||||||
|
|
||||||
pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
|
||||||
|
(
|
||||||
|
"man",
|
||||||
|
StaticDictConfig {
|
||||||
|
ignore_idents: &[
|
||||||
|
"Nd", // .Nd macro of mdoc (see https://man.openbsd.org/mdoc.7#Nd)
|
||||||
|
],
|
||||||
|
ignore_words: &[],
|
||||||
|
},
|
||||||
|
),
|
||||||
(
|
(
|
||||||
"py",
|
"py",
|
||||||
StaticDictConfig {
|
StaticDictConfig {
|
||||||
|
|
Loading…
Reference in a new issue