mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-04 18:15:21 +00:00
rust: Highlight functions called with a turbofish
This commit is contained in:
parent
a4a179763a
commit
2d39358323
1 changed files with 9 additions and 0 deletions
|
@ -12,6 +12,15 @@
|
||||||
field: (field_identifier) @function.method)
|
field: (field_identifier) @function.method)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
(generic_function
|
||||||
|
function: [
|
||||||
|
(identifier) @function
|
||||||
|
(scoped_identifier
|
||||||
|
name: (identifier) @function)
|
||||||
|
(field_expression
|
||||||
|
field: (field_identifier) @function.method)
|
||||||
|
])
|
||||||
|
|
||||||
(function_item name: (identifier) @function.definition)
|
(function_item name: (identifier) @function.definition)
|
||||||
(function_signature_item name: (identifier) @function.definition)
|
(function_signature_item name: (identifier) @function.definition)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue