From 31b8b728a2ba5585a66da4f3dab279b08bd5600a Mon Sep 17 00:00:00 2001 From: Dimitri Sabadie Date: Thu, 8 Jun 2023 01:13:39 +0200 Subject: Fix C++ queries and update tree-sitter-cpp (#7285) --- runtime/queries/cpp/highlights.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runtime/queries/cpp') diff --git a/runtime/queries/cpp/highlights.scm b/runtime/queries/cpp/highlights.scm index 8637489e..509dcdf7 100644 --- a/runtime/queries/cpp/highlights.scm +++ b/runtime/queries/cpp/highlights.scm @@ -32,7 +32,7 @@ (using_declaration ("using" "namespace" (identifier) @namespace)) (using_declaration ("using" "namespace" (qualified_identifier name: (identifier) @namespace))) -(namespace_definition name: (identifier) @namespace) +(namespace_definition name: (namespace_identifier) @namespace) (namespace_identifier) @namespace (qualified_identifier name: (identifier) @type.enum.variant) -- cgit v1.2.3-70-g09d2