1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-04-24 17:12:16 +02:00

ignore/types: make 'gradle' it's own type

This change maintains the existing behavior of the 'groovy' type, which
includes both .groovy and .gradle files.

PR #1470
This commit is contained in:
Tristan Waddington 2020-01-23 03:51:11 -08:00 committed by Andrew Gallant
parent c358700dfb
commit 98de8d248a

View File

@ -152,6 +152,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("go", &["*.go"]),
("gzip", &["*.gz", "*.tgz"]),
("groovy", &["*.groovy", "*.gradle"]),
("gradle", &["*.gradle"]),
("h", &["*.h", "*.hpp"]),
("hbs", &["*.hbs"]),
("haskell", &["*.hs", "*.lhs", "*.cpphs", "*.c2hs", "*.hsc"]),