feat(ziggy,ziggy-schema): update parser and queries

Breaking change: ziggy-schema removed "map" node
This commit is contained in:
Christian Clason 2025-07-08 17:01:38 +02:00 committed by Christian Clason
parent 3dc6834b30
commit 4eb12d7a1f
2 changed files with 13 additions and 3 deletions

View file

@ -2632,7 +2632,7 @@ return {
ziggy = { ziggy = {
install_info = { install_info = {
location = 'tree-sitter-ziggy', location = 'tree-sitter-ziggy',
revision = 'fe3bf9389e7ff213cf3548caaf9c6f3d4bb38647', revision = 'eeb21acc0a369dca503167fe963f4f5a7eda2659',
url = 'https://github.com/kristoff-it/ziggy', url = 'https://github.com/kristoff-it/ziggy',
}, },
maintainers = { '@rockorager' }, maintainers = { '@rockorager' },
@ -2641,7 +2641,7 @@ return {
ziggy_schema = { ziggy_schema = {
install_info = { install_info = {
location = 'tree-sitter-ziggy-schema', location = 'tree-sitter-ziggy-schema',
revision = 'fe3bf9389e7ff213cf3548caaf9c6f3d4bb38647', revision = 'eeb21acc0a369dca503167fe963f4f5a7eda2659',
url = 'https://github.com/kristoff-it/ziggy', url = 'https://github.com/kristoff-it/ziggy',
}, },
maintainers = { '@rockorager' }, maintainers = { '@rockorager' },

View file

@ -9,9 +9,18 @@
"struct" "struct"
"root" "root"
"enum" "enum"
"map" "null"
] @keyword ] @keyword
(string) @string
(number) @number
[
"true"
"false"
] @boolean
(identifier) @type (identifier) @type
"?" @type "?" @type
@ -27,6 +36,7 @@
[ [
"," ","
":"
"|" "|"
] @punctuation.delimiter ] @punctuation.delimiter