1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-07-27 10:11:58 -07:00

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 
This commit is contained in:
Conrad Meyer
2022-04-25 04:38:03 -07:00
committed by GitHub
parent 30ee6f08ee
commit d161acb0a3

@@ -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"]),