aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlfenzo <lfenzo@protonmail.com>2022-07-25 19:47:42 -0300
committerStephan Seitz <stephan.seitz@fau.de>2022-08-03 12:05:30 -0700
commit0014e52e2d370a5fdd488f2a819cd8eda0d12032 (patch)
tree3572412e75795819a9a2c3ce3d12a4839463f310
parentSplit func/method definition from calls in Go highlighting queries (diff)
downloadnvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar.gz
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar.bz2
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar.lz
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar.xz
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.tar.zst
nvim-treesitter-0014e52e2d370a5fdd488f2a819cd8eda0d12032.zip
Split func/method definition from calls in lotlin highlighting queries
-rw-r--r--queries/kotlin/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/kotlin/highlights.scm b/queries/kotlin/highlights.scm
index 2567a74c1..246a56c02 100644
--- a/queries/kotlin/highlights.scm
+++ b/queries/kotlin/highlights.scm
@@ -149,13 +149,13 @@
; function()
(call_expression
- . (simple_identifier) @function)
+ . (simple_identifier) @function.call)
; object.function() or object.property.function()
(call_expression
(navigation_expression
(navigation_suffix
- (simple_identifier) @function) . ))
+ (simple_identifier) @function.call) . ))
(call_expression
. (simple_identifier) @function.builtin