diff options
author | luh2 <hailperv@gmail.com> | 2019-11-12 08:37:23 +0100 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2020-02-17 17:16:28 -0500 |
commit | 040ca45ba0c84a1af24a96f40b1143713f361bf0 (patch) | |
tree | 23a7c1c704d4c26f50a828bb253f51af74d65fef | |
parent | 91470572cdb34848e52413cbc43fd05b639d6e98 (diff) |
ignore/types: add xhtml to xml file type
Closes #1426
-rw-r--r-- | CHANGELOG.md | 2 | ||||
-rw-r--r-- | 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"]), |