summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/cppeditor/CppEditor.mimetypes.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/CppEditor.mimetypes.xml b/src/plugins/cppeditor/CppEditor.mimetypes.xml
index 5dd9f0610a..3c67b3363a 100644
--- a/src/plugins/cppeditor/CppEditor.mimetypes.xml
+++ b/src/plugins/cppeditor/CppEditor.mimetypes.xml
@@ -29,9 +29,10 @@
<glob pattern="*.hpp"/>
<glob pattern="*.hp"/>
<!-- Find include guards of header files without extension, for
- example, STL ones like <string> -->
+ example, STL ones like <string>. Those can have a big initial
+ comment exceeding 1000 chars, though. -->
<magic priority="50">
- <match value="#ifndef" type="string" offset="0:1000"/>
+ <match value="#ifndef" type="string" offset="0:2000"/>
</magic>
</mime-type>