summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Freeland <andy@andyfreeland.net>2018-08-20 09:34:37 -0700
committerAndrew Gallant <jamslam@gmail.com>2018-08-20 15:26:49 -0400
commite46aeb34f85ad1d510f28ddd949d7ddc0c03a094 (patch)
tree4ef24ee15c5b030bd2c240f58ed02398b581065b
parentd8f187e990e322794bf61ae9af508c39f1cbd1cf (diff)
ignore/types: add .mako and .mao for Mako templates
I've personally never seen `.mao`, but GitHub includes it in Linguist: https://github.com/github/linguist/blob/4f11062304ae28b09a9b90c4536a92a27e142dcb/lib/linguist/languages.yml#L2702-L2709
-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 889cd09e..b8c78bbf 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -203,6 +203,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
"makefile", "Makefile",
"*.mk", "*.mak"
]),
+ ("mako", &["*.mako", "*.mao"]),
("markdown", &["*.markdown", "*.md", "*.mdown", "*.mkdn"]),
("md", &["*.markdown", "*.md", "*.mdown", "*.mkdn"]),
("man", &["*.[0-9lnpx]", "*.[0-9][cEFMmpSx]"]),