mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -04:00
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:
parent
2979e048b3
commit
6eb82b6460
5 changed files with 210 additions and 0 deletions
1
SUPPORTED_LANGUAGES.md
generated
1
SUPPORTED_LANGUAGES.md
generated
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue