mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-05 06:32:04 -07:00
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:
committed by
Andrew Gallant
parent
bd8a7ae793
commit
7fc48961ed
@@ -16,6 +16,7 @@ Bug fixes:
|
|||||||
|
|
||||||
Feature enhancements:
|
Feature enhancements:
|
||||||
|
|
||||||
|
* Many enhancements to the default set of file types available for filtering.
|
||||||
* [FEATURE #2708](https://github.com/BurntSushi/ripgrep/pull/2708):
|
* [FEATURE #2708](https://github.com/BurntSushi/ripgrep/pull/2708):
|
||||||
Completions for the fish shell take ripgrep's config file into account.
|
Completions for the fish shell take ripgrep's config file into account.
|
||||||
* [FEATURE #2841](https://github.com/BurntSushi/ripgrep/pull/2841):
|
* [FEATURE #2841](https://github.com/BurntSushi/ripgrep/pull/2841):
|
||||||
|
@@ -159,6 +159,7 @@ pub(crate) const DEFAULT_TYPES: &[(&[&str], &[&str])] = &[
|
|||||||
"[Gg][Nn][Uu]makefile", "[Mm]akefile",
|
"[Gg][Nn][Uu]makefile", "[Mm]akefile",
|
||||||
"[Gg][Nn][Uu]makefile.am", "[Mm]akefile.am",
|
"[Gg][Nn][Uu]makefile.am", "[Mm]akefile.am",
|
||||||
"[Gg][Nn][Uu]makefile.in", "[Mm]akefile.in",
|
"[Gg][Nn][Uu]makefile.in", "[Mm]akefile.in",
|
||||||
|
"Makefile.*",
|
||||||
"*.mk", "*.mak"
|
"*.mk", "*.mak"
|
||||||
]),
|
]),
|
||||||
(&["mako"], &["*.mako", "*.mao"]),
|
(&["mako"], &["*.mako", "*.mao"]),
|
||||||
|
Reference in New Issue
Block a user