diff options
author | chrispy <chrispy@synopsys.com> | 2022-02-20 14:53:16 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2023-07-08 18:52:42 -0400 |
commit | a4e3d56de1fcf8c5d8e7c304585733c6f9853886 (patch) | |
tree | 7a086a2e93d3c8efe8ddf68b93dac34cc602f8cf | |
parent | 7c83b90f95663d4215b4709f00fd0975277f0755 (diff) |
ignore/types: add DITA (Darwin Information Typing Architecture)
Closes #2148
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | crates/ignore/src/default_types.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 2b7233a0..33cec3fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written. Feature enhancements: -* Added or improved file type filtering for Elixir, Fuchsia, Gentoo, GraphQL, USD, V +* Added or improved file type filtering for DITA, Elixir, Fuchsia, Gentoo, GraphQL, USD, V * [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195): When `extra-verbose` mode is enabled in zsh, show extra file type info. * [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409): diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 64fb44dc..08374599 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -60,6 +60,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("devicetree", &["*.dts", "*.dtsi"]), ("dhall", &["*.dhall"]), ("diff", &["*.patch", "*.diff"]), + ("dita", &["*.dita", "*.ditamap", "*.ditaval"]), ("docker", &["*Dockerfile*"]), ("dockercompose", &["docker-compose.yml", "docker-compose.*.yml"]), ("dts", &["*.dts", "*.dtsi"]), |