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"]),