From 431ea386206da2c9c2f73bd8119345191b679f78 Mon Sep 17 00:00:00 2001 From: Kostya M Date: Sun, 20 Jun 2021 15:24:41 +0300 Subject: ignore/types: add file extensions for Crystal It sounds like Projectfile is no longer being used, but we should keep it around in case folks are still using it. It's unlikely that its presence will do much if any harm. PR #1904 --- crates/ignore/src/default_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index d4d7db35..7f2abe97 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -40,7 +40,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ "*.[ChH].in", "*.cc.in", "*.[ch]pp.in", "*.[ch]xx.in", "*.hh.in", ]), ("creole", &["*.creole"]), - ("crystal", &["Projectfile", "*.cr"]), + ("crystal", &["Projectfile", "*.cr", "*.ecr", "shard.yml"]), ("cs", &["*.cs"]), ("csharp", &["*.cs"]), ("cshtml", &["*.cshtml"]), -- cgit v1.2.3