From 7bb0d7548d2ce36ab25a041b1a13ff277b4c4cd2 Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Mon, 6 Jul 2020 23:01:46 +0200 Subject: highlight(c): fix booleans and types --- queries/cpp/highlights.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'queries/cpp') diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 49382bdf..c0a76c13 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" -- cgit v1.2.3