From f5ede0e31942825fc1329f7dfbba0c3ef4bb560f Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 12 Mar 2017 16:51:55 -0400 Subject: [PATCH] Add scss and ejs. We add scss to the existing `css` file type and `ejs` to the existing `html` file type. Fixes #393 --- ignore/src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 96497620..6fb97e1e 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -116,7 +116,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("crystal", &["Projectfile", "*.cr"]), ("cs", &["*.cs"]), ("csharp", &["*.cs"]), - ("css", &["*.css"]), + ("css", &["*.css", "*.scss"]), ("cython", &["*.pyx"]), ("dart", &["*.dart"]), ("d", &["*.d"]), @@ -134,7 +134,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("h", &["*.h", "*.hpp"]), ("hbs", &["*.hbs"]), ("haskell", &["*.hs", "*.lhs"]), - ("html", &["*.htm", "*.html"]), + ("html", &["*.htm", "*.html", "*.ejs"]), ("java", &["*.java"]), ("jinja", &["*.jinja", "*.jinja2"]), ("js", &[