1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-03 14:32:22 +02:00

ignore/types: add xhtml to xml file type

Closes #1426
This commit is contained in:
luh2 2019-11-12 08:37:23 +01:00 committed by Andrew Gallant
parent 91470572cd
commit 040ca45ba0
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

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