1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-03 14:32:22 +02:00

ignore/types: add *.sbt to scala type

Sbt is currently most used Scala build tool which uses
*.sbt files, which are basically Scala.

PR #1010
This commit is contained in:
woky 2018-08-14 15:29:27 +02:00 committed by Andrew Gallant
parent 6afdf15d85
commit deb1de6e1e

View File

@ -235,7 +235,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("ruby", &["Gemfile", "*.gemspec", ".irbrc", "Rakefile", "*.rb"]), ("ruby", &["Gemfile", "*.gemspec", ".irbrc", "Rakefile", "*.rb"]),
("rust", &["*.rs"]), ("rust", &["*.rs"]),
("sass", &["*.sass", "*.scss"]), ("sass", &["*.sass", "*.scss"]),
("scala", &["*.scala"]), ("scala", &["*.scala", "*.sbt"]),
("sh", &[ ("sh", &[
// Portable/misc. init files // Portable/misc. init files
".login", ".logout", ".profile", "profile", ".login", ".logout", ".profile", "profile",