mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(kotlin): fix function highlights
This commit is contained in:
parent
d7c12db4c8
commit
74151445d0
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue