diff options
| -rw-r--r-- | queries/kotlin/highlights.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm index 9d4710126..73d12768e 100644 --- a/queries/kotlin/highlights.scm +++ b/queries/kotlin/highlights.scm @@ -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 |
