summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNacho Barrientos <nacho@criptonita.com>2022-08-21 18:32:03 +0200
committerGitHub <noreply@github.com>2022-08-21 12:32:03 -0400
commitbdf10ab7c0def9070765f459bdf528522b34bab4 (patch)
tree6c6ac728edb71dfaeb3f09bdfb7a422068d8e439
parenta02678800bdbb67490ecfcfbe218e7465a6756dc (diff)
ignore/types: add embedded puppet templates
.epp files are getting more and more common in Puppet code bases so it makes sense I think to include them as part of the "puppet" type. https://puppet.com/docs/puppet/7/lang_template_epp.html PR #2141
-rw-r--r--crates/ignore/src/default_types.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs
index 26589b7b..6f0c8339 100644
--- a/crates/ignore/src/default_types.rs
+++ b/crates/ignore/src/default_types.rs
@@ -178,7 +178,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[
("postscript", &["*.eps", "*.ps"]),
("protobuf", &["*.proto"]),
("ps", &["*.cdxml", "*.ps1", "*.ps1xml", "*.psd1", "*.psm1"]),
- ("puppet", &["*.erb", "*.pp", "*.rb"]),
+ ("puppet", &["*.epp", "*.erb", "*.pp", "*.rb"]),
("purs", &["*.purs"]),
("py", &["*.py"]),
("qmake", &["*.pro", "*.pri", "*.prf"]),