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/v | |
| parent | 77675b67061c30dedfa4219ab58f2280e95b5ed2 (diff) | |
Split func/method definition from calls in several programming language queries
Diffstat (limited to 'queries/v')
| -rw-r--r-- | queries/v/highlights.scm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/queries/v/highlights.scm b/queries/v/highlights.scm index c089fe04..3d2624e8 100644 --- a/queries/v/highlights.scm +++ b/queries/v/highlights.scm @@ -41,16 +41,16 @@ ;; Function calls ---------------- (call_expression - function: (identifier) @function) + function: (identifier) @function.call) (((_ - function: (selector_expression field: (identifier) @function) + function: (selector_expression field: (identifier) @function.call) arguments: (_) @_args) (#not-has-type? @_args arguments_list))) ((call_expression function: (binded_identifier name: (identifier) @function) - @function)) + @function.call)) ;; Function definitions --------- |
