summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuan Francisco Cantero Hurtado <iam@juanfra.info>2022-01-02 21:31:11 +0100
committerAndrew Gallant <jamslam@gmail.com>2023-07-08 18:52:42 -0400
commitee1360cc07beacbd89cc75affc855e74d76831df (patch)
treeea8627637bdf8fc6b58df358d420d9bd18a1f468
parentdb6bb21a629d5b1ec1bfe89c693b280497c9eedc (diff)
ignore/types: add raku extensions to ignore types
Closes #2117
-rw-r--r--CHANGELOG.md2
-rw-r--r--crates/ignore/src/default_types.rs4
2 files changed, 5 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2e5d900b..cbe3b3fb 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written.
Feature enhancements:
-* Added or improved file type filtering for DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, USD, V
+* Added or improved file type filtering for DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, Raku, USD, V
* [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195):
When `extra-verbose` mode is enabled in zsh, show extra file type info.
* [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409):
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 21c7cbc4..102981b4 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -210,6 +210,10 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("qml", &["*.qml"]),
("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]),
("racket", &["*.rkt"]),
+ ("raku", &[
+ "*.raku", "*.rakumod", "*.rakudoc", "*.rakutest",
+ "*.p6", "*.pl6", "*.pm6"
+ ]),
("rdoc", &["*.rdoc"]),
("readme", &["README*", "*README"]),
("reasonml", &["*.re", "*.rei"]),