mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-08-04 14:12:06 -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
@@ -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"]),
|
||||
|
Reference in New Issue
Block a user