diff options
author | Raimon Grau <raimonster@gmail.com> | 2020-08-25 16:08:11 +0100 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2021-05-31 21:51:18 -0400 |
commit | 53c4855517ff3d6ef0cb612579ede1f6e281a506 (patch) | |
tree | 935a3f31cc12a33dbc1ac8ca5c9f6766e6d407cb | |
parent | 121e0135c1f9cb7c950e60e8ef1ae32c775c7263 (diff) |
ignore/types: add red
See: https://www.red-lang.org/
Closes #1663
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | crates/ignore/src/default_types.rs | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c932c0fb..27ba4956 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,7 +30,8 @@ Security fixes: Feature enhancements: * Added or improved file type filtering for ASP, Bazel, dvc, FlatBuffers, - Futhark, minified files, Mint, pofiles (from GNU gettext) Racket, VCL, Yang. + Futhark, minified files, Mint, pofiles (from GNU gettext) Racket, Red, VCL, + Yang. * [FEATURE #1404](https://github.com/BurntSushi/ripgrep/pull/1404): ripgrep now prints a warning if nothing is searched. * [FEATURE #1680](https://github.com/BurntSushi/ripgrep/pull/1680): diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 9fff888b..dfd2b179 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -170,6 +170,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("racket", &["*.rkt"]), ("rdoc", &["*.rdoc"]), ("readme", &["README*", "*README"]), + ("red", &["*.r", "*.red", "*.reds"]), ("robot", &["*.robot"]), ("rst", &["*.rst"]), ("ruby", &["Gemfile", "*.gemspec", ".irbrc", "Rakefile", "*.rb"]), |