mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 11:50:09 -04:00
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:
parent
13b9486db3
commit
3e1f54c1ce
2 changed files with 3 additions and 7 deletions
|
|
@ -1212,7 +1212,7 @@ return {
|
|||
},
|
||||
kotlin = {
|
||||
install_info = {
|
||||
revision = '93bfeee1555d2b1442d68c44b0afde2a3b069e46',
|
||||
revision = '68f564d46c5a137f412d4a7497a0212a4a81655d',
|
||||
url = 'https://github.com/fwcd/tree-sitter-kotlin',
|
||||
},
|
||||
tier = 2,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue