summaryrefslogtreecommitdiffstats
path: root/ignore/src
diff options
context:
space:
mode:
authorMatěj Cepl <mcepl@cepl.eu>2018-06-13 17:11:35 +0200
committerAndrew Gallant <jamslam@gmail.com>2020-02-17 17:16:28 -0500
commit4628d778089d0bf609462af7d5b38997fd9a014f (patch)
treec3aa9df1ef01a8d078c267942078b248c1b0fb5d /ignore/src
parentf8418c6a5271349d37f9e8217923c57b9613d4ab (diff)
ignore/types: add spec file type
This is for RPM package SPEC files. Fixes #946, Closes #1449
Diffstat (limited to 'ignore/src')
-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 d04091eb..0b446447 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -280,6 +280,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("sml", &["*.sml", "*.sig"]),
("soy", &["*.soy"]),
("spark", &["*.spark"]),
+ ("spec", &["*.spec"]),
("sql", &["*.sql", "*.psql"]),
("stylus", &["*.styl"]),
("sv", &["*.v", "*.vg", "*.sv", "*.svh", "*.h"]),