From 040ca45ba0c84a1af24a96f40b1143713f361bf0 Mon Sep 17 00:00:00 2001 From: luh2 Date: Tue, 12 Nov 2019 08:37:23 +0100 Subject: [PATCH] ignore/types: add xhtml to xml file type Closes #1426 --- CHANGELOG.md | 2 +- ignore/src/types.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index baee1dd5..c69bb1fa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,7 +10,7 @@ Performance improvements: Feature enhancements: * Added or improved file type filtering for erb, diff, Gradle, HAML, Org, - Postscript, Skim, Slim, Slime, Typoscript. + Postscript, Skim, Slim, Slime, Typoscript, xml. * [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390): Add new `--no-context-separator` flag that always hides context separators. diff --git a/ignore/src/types.rs b/ignore/src/types.rs index fa286b54..d04091eb 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -312,7 +312,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("webidl", &["*.idl", "*.webidl", "*.widl"]), ("xml", &[ "*.xml", "*.xml.dist", "*.dtd", "*.xsl", "*.xslt", "*.xsd", "*.xjb", - "*.rng", "*.sch", + "*.rng", "*.sch", "*.xhtml", ]), ("xz", &["*.xz", "*.txz"]), ("yacc", &["*.y"]),