Split func/method definition from calls in Go highlighting queries

This commit is contained in:
lfenzo 2022-07-25 13:51:57 -03:00 committed by Stephan Seitz
parent 576287ac84
commit 2f9ae24ffa

View file

@ -21,11 +21,11 @@
; Function calls
(call_expression
function: (identifier) @function)
function: (identifier) @function.call)
(call_expression
function: (selector_expression
field: (field_identifier) @method))
field: (field_identifier) @method.call))
; Function definitions