feat: add Dingo language parser

Add Tree-sitter parser support for Dingo, a meta-language for Go that transpiles
to idiomatic Go code.

Dingo extends Go with:
- Enums with associated values (sum types)
- Pattern matching with exhaustiveness checking
- Result/Option types with error propagation (`?` operator)
- Lambda expressions (`|x| x + 1` or `x => x + 1`)
- Safe navigation (`x?.y`) and null coalescing (`a ?? b`)

The parser is hosted in the dingo.nvim repository under `tree-sitter-dingo/`.

Files added:
- lua/nvim-treesitter/parsers.lua: dingo parser entry
- runtime/queries/dingo/highlights.scm
- runtime/queries/dingo/folds.scm
- runtime/queries/dingo/indents.scm
- SUPPORTED_LANGUAGES.md: auto-generated update
This commit is contained in:
Jack Rudenko 2025-12-10 17:13:42 +11:00 committed by Christian Clason
parent 2979e048b3
commit 6eb82b6460
5 changed files with 210 additions and 0 deletions

View file

@ -57,6 +57,7 @@ Language | Tier | Queries | Maintainer
[devicetree](https://github.com/joelspadin/tree-sitter-devicetree) | unstable | `HFIJL` | @jedrzejboczar
[dhall](https://github.com/jbellerb/tree-sitter-dhall) | unstable | `HF J ` | @amaanq
[diff](https://github.com/tree-sitter-grammars/tree-sitter-diff) | unstable | `HF J ` | @gbprod
[dingo](https://github.com/MadAppGang/dingo.nvim) | unmaintained | `HFI  ` | @erudenko
[disassembly](https://github.com/ColinKennedy/tree-sitter-disassembly) | unstable | `H  J ` | @ColinKennedy
[djot](https://github.com/treeman/tree-sitter-djot) | unstable | `HFIJL` | @NoahTheDuke
[dockerfile](https://github.com/camdencheek/tree-sitter-dockerfile) | unstable | `H  J ` | @camdencheek