summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Mast <jon@jonmast.com>2020-02-15 09:18:32 -0500
committerGitHub <noreply@github.com>2020-02-15 09:18:32 -0500
commit647b0d397794ca7e9835bbf37a00c12d1ea9700b (patch)
treec7ffaba61a3417888c6556763449e71f0649479c
parente572fc1683402285c614ba1d37920a4463e6132f (diff)
ignore/types: add HAML and ERB
These are commonly used templating languages for Ruby, add their extensions to the filetypes list for convenient filtering. PR #1407
-rw-r--r--ignore/src/types.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index 10086de6..1f8f99b0 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -139,6 +139,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("elisp", &["*.el"]),
("elixir", &["*.ex", "*.eex", "*.exs"]),
("elm", &["*.elm"]),
+ ("erb", &["*.erb"]),
("erlang", &["*.erl", "*.hrl"]),
("fidl", &["*.fidl"]),
("fish", &["*.fish"]),
@@ -156,6 +157,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("h", &["*.h", "*.hpp"]),
("hbs", &["*.hbs"]),
("haskell", &["*.hs", "*.lhs", "*.cpphs", "*.c2hs", "*.hsc"]),
+ ("haml", &["*.haml"]),
("hs", &["*.hs", "*.lhs"]),
("html", &["*.htm", "*.html", "*.ejs"]),
("idris", &["*.idr", "*.lidr"]),