diff options
| author | ObserverOfTime <chronobserver@disroot.org> | 2023-02-11 22:02:13 +0200 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2023-02-12 01:21:58 -0800 |
| commit | 74151445d0bceae552946ab36f93ecb7d2a94dff (patch) | |
| tree | b382047f1d2e0ff087836b08c7a72dc745b8f09f | |
| parent | astro: add injections for scss (diff) | |
| download | nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar.gz nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar.bz2 nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar.lz nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar.xz nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.tar.zst nvim-treesitter-74151445d0bceae552946ab36f93ecb7d2a94dff.zip | |
highlights(kotlin): fix function highlights
| -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 |
