aboutsummaryrefslogtreecommitdiffstats
path: root/queries/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'queries/cpp')
-rw-r--r--queries/cpp/highlights.scm4
1 files changed, 3 insertions, 1 deletions
diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm
index 49382bdf7..c0a76c137 100644
--- a/queries/cpp/highlights.scm
+++ b/queries/cpp/highlights.scm
@@ -20,6 +20,8 @@
(namespace_identifier) @constant
+((identifier) @type (#match? @type "^[A-Z]"))
+
((namespace_identifier) @type
(#match? @type "^[A-Z]"))
((namespace_identifier) @constant
@@ -77,7 +79,7 @@
"noexcept"
"throw"
] @exception
-
+
[
"class"