mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 04:40:08 -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 = {
|
kotlin = {
|
||||||
install_info = {
|
install_info = {
|
||||||
revision = '93bfeee1555d2b1442d68c44b0afde2a3b069e46',
|
revision = '68f564d46c5a137f412d4a7497a0212a4a81655d',
|
||||||
url = 'https://github.com/fwcd/tree-sitter-kotlin',
|
url = 'https://github.com/fwcd/tree-sitter-kotlin',
|
||||||
},
|
},
|
||||||
tier = 2,
|
tier = 2,
|
||||||
|
|
|
||||||
|
|
@ -388,10 +388,6 @@
|
||||||
|
|
||||||
; NOTE: `interpolated_identifier`s can be highlighted in any way
|
; NOTE: `interpolated_identifier`s can be highlighted in any way
|
||||||
(string_literal
|
(string_literal
|
||||||
"$" @punctuation.special
|
(interpolation_expression_start) @punctuation.special
|
||||||
(interpolated_identifier) @none @variable)
|
|
||||||
|
|
||||||
(string_literal
|
|
||||||
"${" @punctuation.special
|
|
||||||
(interpolated_expression) @none
|
(interpolated_expression) @none
|
||||||
"}" @punctuation.special)
|
(interpolation_expression_end) @punctuation.special)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue