summaryrefslogtreecommitdiff
path: root/queries/rust/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/rust/highlights.scm')
-rw-r--r--queries/rust/highlights.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/queries/rust/highlights.scm b/queries/rust/highlights.scm
index 554d6454..fabe32e9 100644
--- a/queries/rust/highlights.scm
+++ b/queries/rust/highlights.scm
@@ -39,22 +39,22 @@
; Function calls
(call_expression
- function: (identifier) @function)
+ function: (identifier) @function.call)
(call_expression
function: (scoped_identifier
- (identifier) @function .))
+ (identifier) @function.call .))
(call_expression
function: (field_expression
- field: (field_identifier) @function))
+ field: (field_identifier) @function.call))
(generic_function
- function: (identifier) @function)
+ function: (identifier) @function.call)
(generic_function
function: (scoped_identifier
- name: (identifier) @function))
+ name: (identifier) @function.call))
(generic_function
function: (field_expression
- field: (field_identifier) @function))
+ field: (field_identifier) @function.call))
; Assume other uppercase names are enum constructors
((field_identifier) @constant