diff options
author | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:23:42 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2016-11-06 12:23:42 -0500 |
commit | 351eddc17e3f7164978c2f001ff9b8e3bc328e33 (patch) | |
tree | b9a34dab5b75f5489e2b69c2935432d2d68449eb | |
parent | 277dda544ce0e3d5f6f3693c087a4564e8401fbf (diff) |
Add new 'h' file type.
This is intended to correspond to C/C++ header files.
Fixes #186
-rw-r--r-- | ignore/src/types.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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"]), |