From 1d4fccaadc0c5ec805202ff7d451f934fe696ca8 Mon Sep 17 00:00:00 2001 From: Antony Lee Date: Fri, 23 Nov 2018 15:46:11 +0100 Subject: ignore/types: add postscript Although postscript/encapsulated postscript is usually thought of as a binary format, it's actually mostly ASCII, so ripgrep will not ignore these files. The situation is basically the same as for pdf, which is also already present in the list of known filetypes. PR #1118 --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 2f0da38a..6ec452aa 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -225,6 +225,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("pdf", &["*.pdf"]), ("php", &["*.php", "*.php3", "*.php4", "*.php5", "*.phtml"]), ("pod", &["*.pod"]), + ("postscript", &[".eps", ".ps"]), ("protobuf", &["*.proto"]), ("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]), ("puppet", &["*.erb", "*.pp", "*.rb"]), -- cgit v1.2.3