From 2f9ae24ffaee47455dc978733c505c9552bd855f Mon Sep 17 00:00:00 2001 From: lfenzo Date: Mon, 25 Jul 2022 13:51:57 -0300 Subject: Split func/method definition from calls in Go highlighting queries --- queries/go/highlights.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm index 011b448b1..3d261f52a 100644 --- a/queries/go/highlights.scm +++ b/queries/go/highlights.scm @@ -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 -- cgit v1.2.3-70-g09d2