aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoukime2021-10-29 05:11:19 +0000
committerGitHub2021-10-29 05:11:19 +0000
commita1c7e55e3be95be6769d3a08518c8a41c257016f (patch)
tree92577b48fb6f3f0ff5b543546176f1822d40081e
parent49f6c2623fbda5ff4be86e5e7d773bf900d9c75c (diff)
update cpp queries (#930)
Co-authored-by: Houkime <>
m---------helix-syntax/languages/tree-sitter-cpp0
-rw-r--r--runtime/queries/cpp/highlights.scm9
2 files changed, 4 insertions, 5 deletions
diff --git a/helix-syntax/languages/tree-sitter-cpp b/helix-syntax/languages/tree-sitter-cpp
-Subproject c61212414a3e95b5f7507f98e83de1d638044ad
+Subproject e8dcc9d2b404c542fd236ea5f7208f90be8a6e8
diff --git a/runtime/queries/cpp/highlights.scm b/runtime/queries/cpp/highlights.scm
index 3315fde0..3348ef3c 100644
--- a/runtime/queries/cpp/highlights.scm
+++ b/runtime/queries/cpp/highlights.scm
@@ -3,7 +3,7 @@
; Functions
(call_expression
- function: (scoped_identifier
+ function: (qualified_identifier
name: (identifier) @function))
(template_function
@@ -13,15 +13,14 @@
name: (field_identifier) @function)
(template_function
- name: (scoped_identifier
- name: (identifier) @function))
+ name: (identifier) @function)
(function_declarator
- declarator: (scoped_identifier
+ declarator: (qualified_identifier
name: (identifier) @function))
(function_declarator
- declarator: (scoped_identifier
+ declarator: (qualified_identifier
name: (identifier) @function))
(function_declarator