Fix syntax detection for files called 'rails'

closes #1008
This commit is contained in:
sharkdp authored and David Peter committed 2020-05-24 11:27:42 +02:00
1 parent 2eaced4d30
commit c4031ad65c
2 files changed
+16

No files matched your search

+5
View File
@@ -42,6 +42,11 @@ impl<'a> SyntaxMapping<'a> {
)
.unwrap();
// See #1008
mapping
.insert("rails", MappingTarget::MapToUnknown)
.unwrap();
mapping
}