mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
feat(kdl): update parser & queries fixing the comment bug
This commit is contained in:
parent
5b9339f6f4
commit
75d98eaac4
2 changed files with 7 additions and 4 deletions
|
|
@ -240,7 +240,7 @@
|
||||||
"revision": "e2f449e2bcc95f1d07ceb62d67f986005f73a6be"
|
"revision": "e2f449e2bcc95f1d07ceb62d67f986005f73a6be"
|
||||||
},
|
},
|
||||||
"kdl": {
|
"kdl": {
|
||||||
"revision": "c3c4856464842e05366b1f3ebc4434c9194cad43"
|
"revision": "e36f054a60c4d9e5ae29567d439fdb8790b53b30"
|
||||||
},
|
},
|
||||||
"kotlin": {
|
"kotlin": {
|
||||||
"revision": "e4637037a5fe6f25fe66c305669faa0855f35692"
|
"revision": "e4637037a5fe6f25fe66c305669faa0855f35692"
|
||||||
|
|
|
||||||
|
|
@ -31,18 +31,21 @@
|
||||||
|
|
||||||
(number (decimal) @float)
|
(number (decimal) @float)
|
||||||
(number (exponent) @float)
|
(number (exponent) @float)
|
||||||
(number (decimal) (exponent) @float)
|
|
||||||
|
|
||||||
(boolean) @boolean
|
(boolean) @boolean
|
||||||
|
|
||||||
; Misc
|
|
||||||
|
|
||||||
"null" @constant.builtin
|
"null" @constant.builtin
|
||||||
|
|
||||||
|
; Punctuation
|
||||||
|
|
||||||
["{" "}"] @punctuation.bracket
|
["{" "}"] @punctuation.bracket
|
||||||
|
|
||||||
["(" ")"] @punctuation.bracket
|
["(" ")"] @punctuation.bracket
|
||||||
|
|
||||||
|
[
|
||||||
|
";"
|
||||||
|
] @punctuation.delimiter
|
||||||
|
|
||||||
; Comments
|
; Comments
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue