We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 441f467 + 97ca68e commit 294e2ddCopy full SHA for 294e2dd
src/FileTypeFactory.cpp
@@ -17,7 +17,7 @@ IFileTypePtr FileTypeFactory::CreateFileType(
17
unsigned minChars) {
18
auto ext = StringUtil::ToLower(StringUtil::GetFileExtension(filename));
19
IFileTypePtr fileType;
20
- if (ext == "c" || ext == "cpp" || ext == "cxx" || ext == "h" || ext == "cc")
+ if (ext == "c" || ext == "cpp" || ext == "cxx" || ext == "h" || ext == "cc" || ext == "hh")
21
fileType.reset(new FileType_C(ignorePrepStuff, minChars));
22
else if (ext == "cs")
23
fileType.reset(new FileType_CS(ignorePrepStuff, minChars));
0 commit comments