aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cpp/highlights.scm')
-rw-r--r--queries/cpp/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index 7110f9836..1efdf759a 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -39,12 +39,12 @@
((identifier) @type
- (#match? @type "^[A-Z]")
+ (#match? @type "^[A-Z][a-z]")
(#not-has-parent? @type function_declarator))
(namespace_identifier) @namespace
((namespace_identifier) @type
- (#match? @type "^[A-Z]"))
+ (#match? @type "^[A-Z].*[a-z]"))
((namespace_identifier) @constant
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
(namespace_definition