fix(cli): Allow Nd in man pages

This commit is contained in:
Martin Fischer 2023-08-07 22:44:04 +02:00
parent 6f0c32c802
commit 5181c42c57

View file

@ -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 {