.h headers as .cpp
@@ -161,11 +161,14 @@ prefs = {
'grammar': 'binary',
},
'c': {
- 'ext': ['.c', '.h'],
+ 'ext': ['.c'],
'grammar': 'c',
},
'cpp': {
- 'ext': ['.cc', '.cpp', '.cxx', '.c++', '.hpp', '.hxx', '.h++', '.inc'],
+ 'ext': [
+ '.cc', '.cpp', '.cxx', '.c++', '.hpp', '.hxx', '.h++', '.inc',
+ '.h' # Hmm, some source uses .h for cpp headers.
+ ],
'grammar': 'cpp',
},
'css': {
