From 351eddc17e3f7164978c2f001ff9b8e3bc328e33 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sun, 6 Nov 2016 12:23:42 -0500 Subject: [PATCH] Add new 'h' file type. This is intended to correspond to C/C++ header files. Fixes #186 --- ignore/src/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ignore/src/types.rs b/ignore/src/types.rs index 15e5876e..ff243dd3 100644 --- a/ignore/src/types.rs +++ b/ignore/src/types.rs @@ -111,6 +111,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[ ("fsharp", &["*.fs", "*.fsx", "*.fsi"]), ("go", &["*.go"]), ("groovy", &["*.groovy", "*.gradle"]), + ("h", &["*.h", "*.hpp"]), ("hbs", &["*.hbs"]), ("haskell", &["*.hs", "*.lhs"]), ("html", &["*.htm", "*.html"]),