feat(kotlin)!: update parser and queries

Breaking change: replace`${` and `}` nodes in interpolated expressions,
by `(interpolation_expression_start)` and `(interpolation_expression_end)`
This commit is contained in:
Christian Clason 2026-04-14 18:56:49 +02:00 committed by Christian Clason
parent 13b9486db3
commit 3e1f54c1ce
2 changed files with 3 additions and 7 deletions

View file

@ -1212,7 +1212,7 @@ return {
},
kotlin = {
install_info = {
revision = '93bfeee1555d2b1442d68c44b0afde2a3b069e46',
revision = '68f564d46c5a137f412d4a7497a0212a4a81655d',
url = 'https://github.com/fwcd/tree-sitter-kotlin',
},
tier = 2,

View file

@ -388,10 +388,6 @@
; NOTE: `interpolated_identifier`s can be highlighted in any way
(string_literal
"$" @punctuation.special
(interpolated_identifier) @none @variable)
(string_literal
"${" @punctuation.special
(interpolation_expression_start) @punctuation.special
(interpolated_expression) @none
"}" @punctuation.special)
(interpolation_expression_end) @punctuation.special)