Skip to content

Commit

Permalink
fix(cli): Allow ot and stap in sh
Browse files Browse the repository at this point in the history
  • Loading branch information
not-my-profile committed Aug 8, 2023
1 parent e5e8f25 commit d3e48b2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crates/typos-cli/src/file_type_specifics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,16 @@ pub const TYPE_SPECIFIC_DICTS: &[(&str, StaticDictConfig)] = &[
],
},
),
(
"sh",
StaticDictConfig {
ignore_idents: &[
"ot", // the test command from GNU coreutils supports an -ot argument (see https://www.gnu.org/software/coreutils/manual/html_node/File-characteristic-tests.html)
"stap", // command from SystemTap (see https://sourceware.org/systemtap/man/stap.1.html)
],
ignore_words: &[],
},
),
(
"vim",
StaticDictConfig {
Expand Down

0 comments on commit d3e48b2

Please sign in to comment.