summaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorDimitri Sabadie2023-06-07 23:13:39 +0000
committerGitHub2023-06-07 23:13:39 +0000
commit31b8b728a2ba5585a66da4f3dab279b08bd5600a (patch)
tree4c4f0e31c17f919d6fdb0992131d22c2395fe7ca /runtime/queries
parentef5bcd5060e6298a2deae53a7c29514d4a50a2fc (diff)
Fix C++ queries and update tree-sitter-cpp (#7285)
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/cpp/highlights.scm2
1 files changed, 1 insertions, 1 deletions
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)