1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-07-26 17:51:56 -07:00

ignore/types: config.ru and *.rbw Ruby

PR 
This commit is contained in:
Ulysse Buonomo
2021-06-01 16:57:09 +02:00
committed by GitHub
parent 079a23b515
commit 5d0f2b0fc0

@@ -173,7 +173,12 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("red", &["*.r", "*.red", "*.reds"]),
("robot", &["*.robot"]),
("rst", &["*.rst"]),
("ruby", &["Gemfile", "*.gemspec", ".irbrc", "Rakefile", "*.rb"]),
("ruby", &[
// Idiomatic files
"config.ru", "Gemfile", ".irbrc", "Rakefile",
// Extensions
"*.gemspec", "*.rb", "*.rbw"
]),
("rust", &["*.rs"]),
("sass", &["*.sass", "*.scss"]),
("scala", &["*.scala", "*.sbt"]),