From eab044d829e1f5bcd1d3fd6a6f49ff732240da09 Mon Sep 17 00:00:00 2001 From: Marcin Nowak-Liebiediew Date: Thu, 20 Oct 2022 15:22:41 +0200 Subject: [PATCH] ignore/types: add motoko and candid See: https://github.com/dfinity/candid See: https://github.com/dfinity/motoko PR #2335 --- crates/ignore/src/default_types.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index b3a5c958..0c9f8be4 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -32,6 +32,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("bzip2", &["*.bz2", "*.tbz2"]), ("c", &["*.[chH]", "*.[chH].in", "*.cats"]), ("cabal", &["*.cabal"]), + ("candid", &["*.did"]), ("cbor", &["*.cbor"]), ("ceylon", &["*.ceylon"]), ("clojure", &["*.clj", "*.cljc", "*.cljs", "*.cljx"]), @@ -154,6 +155,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("mint", &["*.mint"]), ("mk", &["mkfile"]), ("ml", &["*.ml"]), + ("motoko", &["*.mo"]), ("msbuild", &[ "*.csproj", "*.fsproj", "*.vcxproj", "*.proj", "*.props", "*.targets", ]),