From ee1360cc07beacbd89cc75affc855e74d76831df Mon Sep 17 00:00:00 2001 From: Juan Francisco Cantero Hurtado Date: Sun, 2 Jan 2022 21:31:11 +0100 Subject: ignore/types: add raku extensions to ignore types Closes #2117 --- CHANGELOG.md | 2 +- crates/ignore/src/default_types.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) 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"]), -- cgit v1.2.3