From a4e3d56de1fcf8c5d8e7c304585733c6f9853886 Mon Sep 17 00:00:00 2001
From: chrispy <chrispy@synopsys.com>
Date: Sun, 20 Feb 2022 14:53:16 -0500
Subject: [PATCH] ignore/types: add DITA (Darwin Information Typing
 Architecture)

Closes #2148
---
 CHANGELOG.md                       | 2 +-
 crates/ignore/src/default_types.rs | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

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