summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAntony Lee <anntzer.lee@gmail.com>2018-11-23 15:46:11 +0100
committerAndrew Gallant <jamslam@gmail.com>2018-11-23 09:46:11 -0500
commit1d4fccaadc0c5ec805202ff7d451f934fe696ca8 (patch)
tree6b0259ac8d7703cea84aca9b064862aef6ac142b
parent09e464e67493138fcf598212fe7972518329fe60 (diff)
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
-rw-r--r--ignore/src/types.rs1
1 files changed, 1 insertions, 0 deletions
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"]),