ignore/types: add Makefile.*

The *BSD build systems make use of "Makefile.inc" a lot. Make the
"make" type recognize this file by default. And more generally,
`Makefile.*` seems to be a convention, so just generalize it.

Closes #2846
This commit is contained in:
Christoph Badura
2024-06-29 00:21:08 +02:00
committed by Andrew Gallant
parent bd8a7ae793
commit 7fc48961ed
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ Bug fixes:
Feature enhancements:
* Many enhancements to the default set of file types available for filtering.
* [FEATURE #2708](https://github.com/BurntSushi/ripgrep/pull/2708):
Completions for the fish shell take ripgrep's config file into account.
* [FEATURE #2841](https://github.com/BurntSushi/ripgrep/pull/2841):

View File

@@ -159,6 +159,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
"[Gg][Nn][Uu]makefile", "[Mm]akefile",
"[Gg][Nn][Uu]makefile.am", "[Mm]akefile.am",
"[Gg][Nn][Uu]makefile.in", "[Mm]akefile.in",
"Makefile.*",
"*.mk", "*.mak"
]),
(&["mako"], &["*.mako", "*.mao"]),