summaryrefslogtreecommitdiffstats
path: root/ignore/src
diff options
context:
space:
mode:
authorTristan Waddington <tristan.waddington@gmail.com>2020-01-23 03:51:11 -0800
committerAndrew Gallant <jamslam@gmail.com>2020-01-23 06:51:11 -0500
commit98de8d248a677bbdb5ab46f53a58ceabbc24a2df (patch)
tree1ddadf8e6800f2fcf7b85dfad03a031fa3dfb734 /ignore/src
parentc358700dfbc350115af0b5e03ae5a16f28b3dc4d (diff)
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
Diffstat (limited to 'ignore/src')
-rw-r--r--ignore/src/types.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index 42bc6316..d6deb2bf 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -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"]),