mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-07-30 19:51:58 -07:00
ignore/types: add *.rake
extension to list of Ruby file types
This PR adds the .rake extension to the Ruby type. It's a pretty common file extension in Rails apps—in my experience, the Rakefile is often pretty empty and only sets some stuff up while most of the code lives in various .rake files. See: https://ruby.github.io/rake/doc/rakefile_rdoc.html#label-Multiple+Rake+Files Closes #2921
This commit is contained in:
@@ -228,7 +228,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
|
||||
// Idiomatic files
|
||||
"config.ru", "Gemfile", ".irbrc", "Rakefile",
|
||||
// Extensions
|
||||
"*.gemspec", "*.rb", "*.rbw"
|
||||
"*.gemspec", "*.rb", "*.rbw", "*.rake"
|
||||
]),
|
||||
(&["rust"], &["*.rs"]),
|
||||
(&["sass"], &["*.sass", "*.scss"]),
|
||||
|
Reference in New Issue
Block a user