feat: add TOON parser support

Add tree-sitter grammar for TOON (Token-Oriented Object Notation),
a JSON-alternative data format with indentation-based structure.

- Add parser config in parsers.lua
- Add query files: highlights, folds, indents, locals

Parser repository: https://github.com/DanEscher98/tree-sitter-toon
TOON spec: https://github.com/toon-format/spec

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Danyiel Colin 2025-11-30 01:40:59 -06:00
parent 42fc28ba91
commit 79880d8d09
5 changed files with 154 additions and 0 deletions

View file

@ -2434,6 +2434,15 @@ list.toml = {
maintainers = { "@tk-shirasaka" },
}
list.toon = {
install_info = {
url = "https://github.com/DanEscher98/tree-sitter-toon",
files = { "src/parser.c", "src/scanner.c" },
branch = "main",
},
maintainers = { "@DanEscher98" },
}
list.tsv = {
install_info = {
url = "https://github.com/amaanq/tree-sitter-csv",