mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 01:30:21 -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 #2192
This commit is contained in:
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"]),
|
||||
|
Loading…
x
Reference in New Issue
Block a user