From e46aeb34f85ad1d510f28ddd949d7ddc0c03a094 Mon Sep 17 00:00:00 2001 From: Andy Freeland Date: Mon, 20 Aug 2018 09:34:37 -0700 Subject: [PATCH] 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 --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 889cd09..b8c78bb 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]"]),