diff options
author | Vanessa McHale <vmchale@users.noreply.github.com> | 2018-08-07 12:10:19 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-08-07 13:10:19 -0400 |
commit | 6afdf15d85579bb759f5311d867cf5003064e594 (patch) | |
tree | 07a628a3a3ab19092e360cb0db2aaa8997e7f9dd | |
parent | 6cda7b24e9959b7cff80601861ef108d8e9ef0a4 (diff) |
ignore/types: add Idris, Dhall and ATS
And also improve Haskell detection.
PR #1007
-rw-r--r-- | ignore/src/types.rs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 8ecbb2b0..78be8bf0 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -98,6 +98,7 @@ use {Error, Match}; const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("agda", &["*.agda", "*.lagda"]), + ("ats", &["*.ats", "*.dats", "*.sats", "*.hats"]), ("aidl", &["*.aidl"]), ("amake", &["*.mk", "*.bp"]), ("asciidoc", &["*.adoc", "*.asc", "*.asciidoc"]), @@ -107,7 +108,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("bazel", &["*.bzl", "WORKSPACE", "BUILD"]), ("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]), ("bzip2", &["*.bz2"]), - ("c", &["*.c", "*.h", "*.H"]), + ("c", &["*.c", "*.h", "*.H", "*.cats"]), ("cabal", &["*.cabal"]), ("cbor", &["*.cbor"]), ("ceylon", &["*.ceylon"]), @@ -129,6 +130,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("cython", &["*.pyx"]), ("dart", &["*.dart"]), ("d", &["*.d"]), + ("dhall", &["*.dhall"]), ("docker", &["*Dockerfile*"]), ("elisp", &["*.el"]), ("elixir", &["*.ex", "*.eex", "*.exs"]), @@ -147,9 +149,10 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("groovy", &["*.groovy", "*.gradle"]), ("h", &["*.h", "*.hpp"]), ("hbs", &["*.hbs"]), - ("haskell", &["*.hs", "*.lhs"]), + ("haskell", &["*.hs", "*.lhs", "*.cpphs", "*.c2hs", "*.hsc"]), ("hs", &["*.hs", "*.lhs"]), ("html", &["*.htm", "*.html", "*.ejs"]), + ("idris", &["*.idr", "*.lidr"]), ("java", &["*.java", "*.jsp"]), ("jinja", &["*.j2", "*.jinja", "*.jinja2"]), ("js", &[ |