highlights(kotlin): fix function highlights

This commit is contained in:
ObserverOfTime 2023-02-11 22:02:13 +02:00 committed by Stephan Seitz
parent d7c12db4c8
commit 74151445d0

View file

@ -118,7 +118,7 @@
;;; Function definitions
(function_declaration
. (simple_identifier) @function)
(simple_identifier) @function)
(getter
("get") @function.builtin)
@ -154,6 +154,10 @@
(call_expression
. (simple_identifier) @function.call)
; ::function
(callable_reference
. (simple_identifier) @function.call)
; object.function() or object.property.function()
(call_expression
(navigation_expression