1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-03-17 20:28:03 +02:00

ignore/types: add 'typescript' alias for 'ts'

Closes #2009
This commit is contained in:
Klas Mellbourn 2021-09-29 22:56:36 +02:00 committed by Andrew Gallant
parent 99bf2b01dc
commit 7313dca472
2 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,7 @@ Unreleased changes. Release notes have not yet been written.
Feature enhancements:
* Added or improved file type filtering for Ada, DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, Raku, USD, V
* Added or improved file type filtering for Ada, DITA, Elixir, Fuchsia, Gentoo, GraphQL, Markdown, Raku, TypeScript, 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):

View File

@ -289,6 +289,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("ts", &["*.ts", "*.tsx", "*.cts", "*.mts"]),
("twig", &["*.twig"]),
("txt", &["*.txt"]),
("typescript", &["*.ts", "*.tsx", "*.cts", "*.mts"]),
("typoscript", &["*.typoscript", "*.ts"]),
("usd", &["*.usd", "*.usda", "*.usdc"]),
("v", &["*.v"]),