ignore/types: add raku extensions to ignore types

Closes #2117
This commit is contained in:
Juan Francisco Cantero Hurtado 2022-01-02 21:31:11 +01:00 committed by Andrew Gallant
parent db6bb21a62
commit ee1360cc07
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written.
Feature enhancements: 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): * [FEATURE #2195](https://github.com/BurntSushi/ripgrep/issues/2195):
When `extra-verbose` mode is enabled in zsh, show extra file type info. When `extra-verbose` mode is enabled in zsh, show extra file type info.
* [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409): * [FEATURE #2409](https://github.com/BurntSushi/ripgrep/pull/2409):

View File

@ -210,6 +210,10 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("qml", &["*.qml"]), ("qml", &["*.qml"]),
("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]), ("r", &["*.R", "*.r", "*.Rmd", "*.Rnw"]),
("racket", &["*.rkt"]), ("racket", &["*.rkt"]),
("raku", &[
"*.raku", "*.rakumod", "*.rakudoc", "*.rakutest",
"*.p6", "*.pl6", "*.pm6"
]),
("rdoc", &["*.rdoc"]), ("rdoc", &["*.rdoc"]),
("readme", &["README*", "*README"]), ("readme", &["README*", "*README"]),
("reasonml", &["*.re", "*.rei"]), ("reasonml", &["*.re", "*.rei"]),