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

ignore/types: add spec file type

This is for RPM package SPEC files.

Fixes #946, Closes #1449
This commit is contained in:
Matěj Cepl 2018-06-13 17:11:35 +02:00 committed by Andrew Gallant
parent f8418c6a52
commit 4628d77808
2 changed files with 2 additions and 1 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, xml.
Postscript, Skim, Slim, Slime, RPM Spec files, Typoscript, xml.
* [FEATURE #1390](https://github.com/BurntSushi/ripgrep/pull/1390):
Add new `--no-context-separator` flag that always hides context separators.

View File

@ -280,6 +280,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("sml", &["*.sml", "*.sig"]),
("soy", &["*.soy"]),
("spark", &["*.spark"]),
("spec", &["*.spec"]),
("sql", &["*.sql", "*.psql"]),
("stylus", &["*.styl"]),
("sv", &["*.v", "*.vg", "*.sv", "*.svh", "*.h"]),