Starting to add treesitter support to my Emacs config, and now I want to write treesitter-based modes for Nix, OCaml and Haskell... must... resist... yak is so hairy...
https://github.com/purcell/emacs.d
^ Yak somewhat dodged... I started writing a treesitter-powered Emacs major mode for OCaml, then found and contributed to pre-existing efforts for OCaml and Nix instead. Will try to help shepherd them into MELPA. There's also an older haskell-ts-mode which appears to be in limbo.
Happy to announce there's now a shiny new Treesitter-based #Emacs major mode for #Nix in #MELPA. Early days, but please try it out and submit issues/fixes: https://github.com/remi-gelinas/nix-ts-mode
Following on, a few of us have joined forces to also publish a new Treesitter-based #Emacs mode for #OCaml, available in #MELPA: https://github.com/dmitrig/ocaml-ts-mode
@sanityinc Fabulous! I was just this very evening looking for *someone* I could steal the outline of a treesitter major mode from. *Yoink*
@ndw I still haven't found the perfect model for this, but this one is as good as any. The built-in Emacs ones are a bit more quirky imo.
@sanityinc I'm working on (have got working!) a mode for #InvisibleXML, it doesn't really require very much.
@ndw I figured that was what you had in mind! Bonne chance!
@sanityinc TS for Tree-Sitter as well as Typescript confused me at first. Now that I know it’s the former, I’m interested!
To be fair, I’d be interested in either.