Merge pull request #2180 from zed-industries/turbofish-highlight

Highlight functions called with a turbofish in Rust
This commit is contained in:
Max Brunsfeld 2023-02-16 12:52:37 -08:00 committed by GitHub
commit b90fc046ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,15 @@
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_signature_item name: (identifier) @function.definition)