From 3b516c8e2b29dc2f8bfa5425a1b9369496918884 Mon Sep 17 00:00:00 2001 From: Alex Chen Date: Fri, 4 Jun 2021 19:56:10 +0800 Subject: c++ highlights: don't capture all identifiers with uppercase initials as types --- queries/cpp/highlights.scm | 4 ---- 1 file changed, 4 deletions(-) (limited to 'queries/cpp') diff --git a/queries/cpp/highlights.scm b/queries/cpp/highlights.scm index 9136fcd79..981924259 100644 --- a/queries/cpp/highlights.scm +++ b/queries/cpp/highlights.scm @@ -32,10 +32,6 @@ name: (identifier) @function)) -((identifier) @type - (#match? @type "^[A-Z].*[a-z]") - (#not-has-parent? @type function_declarator)) - (namespace_identifier) @namespace ((namespace_identifier) @type (#match? @type "^[A-Z]")) -- cgit v1.2.3-70-g09d2