Open valpackett opened 1 month ago
This is for nvim-treesitter, right? Or is there another usecase for dialects?
Right, at least nvim and helix need distinctly named grammars to be able to use distinct sets of queries, probably most other text editors too.
the changes are also forked into https://github.com/blackstork-io/tree-sitter-fabric/tree/push-sltlwnxkpnyk
Fabric is a tool for generating documents from HCL templates. Like Terraform, it has specific syntax highlighting additions. I'm currently working on custom tree-sitter queries for it (mostly a whole bunch of injections – jq, gotmpl, html, css…). Would be great if we could merge the dialect into the main tree-sitter-hcl repo!