From d161acb0a360cd437214048e2580f4604f8d4b44 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Mon, 25 Apr 2022 04:38:03 -0700 Subject: ignore/types: add '*.hh' to C++ headers Like .hpp, .hh is an occasionally used extension for C++ headers (to distinguish them from C headers). At least one popular project, FreeBSD, uses this extension. See also: https://docs.fileformat.com/programming/hh/ PR #2192 --- crates/ignore/src/default_types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ignore/src/default_types.rs b/crates/ignore/src/default_types.rs index 8f974ade..0cd9b12d 100644 --- a/crates/ignore/src/default_types.rs +++ b/crates/ignore/src/default_types.rs @@ -80,7 +80,7 @@ pub const DEFAULT_TYPES: &[(&str, &[&str])] = &[ ("gradle", &["*.gradle"]), ("groovy", &["*.groovy", "*.gradle"]), ("gzip", &["*.gz", "*.tgz"]), - ("h", &["*.h", "*.hpp"]), + ("h", &["*.h", "*.hh", "*.hpp"]), ("haml", &["*.haml"]), ("haskell", &["*.hs", "*.lhs", "*.cpphs", "*.c2hs", "*.hsc"]), ("hbs", &["*.hbs"]), -- cgit v1.2.3