Skip to content

Commit 431ea38

Browse files
authored
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 BurntSushi#1904
1 parent caba5c4 commit 431ea38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ignore/src/default_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
4040
"*.[ChH].in", "*.cc.in", "*.[ch]pp.in", "*.[ch]xx.in", "*.hh.in",
4141
]),
4242
("creole", &["*.creole"]),
43-
("crystal", &["Projectfile", "*.cr"]),
43+
("crystal", &["Projectfile", "*.cr", "*.ecr", "shard.yml"]),
4444
("cs", &["*.cs"]),
4545
("csharp", &["*.cs"]),
4646
("cshtml", &["*.cshtml"]),

0 commit comments

Comments
 (0)