Skip to content

Commit

Permalink
fix(cli): Don't suggest Nd -> And in man pages
Browse files Browse the repository at this point in the history
  • Loading branch information
not-my-profile committed Aug 8, 2023
1 parent 5dbe094 commit ab4c7a2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions crates/typos-cli/src/file_type_specifics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
pub const NO_CHECK_TYPES: &[&str] = &["cert", "lock"];

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",
StaticDictConfig {
Expand Down

0 comments on commit ab4c7a2

Please sign in to comment.