1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-01-13 21:28:13 +02:00

ignore/types: fix postscript globs

The postscript globs were missing asterisks, so they were treated as
literal filenames.

PR #1461
This commit is contained in:
Jan Verbeek 2020-01-20 13:48:57 +01:00 committed by Andrew Gallant
parent 8bdf84e3a8
commit 46b07bb2ee

View File

@ -231,7 +231,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("pdf", &["*.pdf"]),
("php", &["*.php", "*.php3", "*.php4", "*.php5", "*.phtml"]),
("pod", &["*.pod"]),
("postscript", &[".eps", ".ps"]),
("postscript", &["*.eps", "*.ps"]),
("protobuf", &["*.proto"]),
("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]),
("puppet", &["*.erb", "*.pp", "*.rb"]),