From 647b0d397794ca7e9835bbf37a00c12d1ea9700b Mon Sep 17 00:00:00 2001 From: Jonathan Mast Date: Sat, 15 Feb 2020 09:18:32 -0500 Subject: 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 --- ignore/src/types.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ignore/src') 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"]), -- cgit v1.2.3