summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorlfenzo <lfenzo@protonmail.com>2022-07-25 13:51:57 -0300
committerStephan Seitz <stephan.seitz@fau.de>2022-08-03 12:05:30 -0700
commit2f9ae24ffaee47455dc978733c505c9552bd855f (patch)
tree958da242d9bdd4342811badad4c40a379f7ce3b2 /queries
parent576287ac849f27da65eb92c3dcd747ac1185afaa (diff)
Split func/method definition from calls in Go highlighting queries
Diffstat (limited to 'queries')
-rw-r--r--queries/go/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/go/highlights.scm b/queries/go/highlights.scm
index 011b448b..3d261f52 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