diff options
| author | lfenzo <lfenzo@protonmail.com> | 2022-07-29 21:09:58 -0300 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2022-08-03 12:05:30 -0700 |
| commit | c784720917bacb6716ce35ef07d464f5da738dd7 (patch) | |
| tree | ba382230cf80e97ebdeee4e620e1f9231cb368ee /queries/rust | |
| parent | 77675b67061c30dedfa4219ab58f2280e95b5ed2 (diff) | |
Split func/method definition from calls in several programming language queries
Diffstat (limited to 'queries/rust')
| -rw-r--r-- | queries/rust/highlights.scm | 12 |
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 |
