Emacs major mode for TypeSpec (using tree-sitter).
typespec-ts-mode is available on MELPA. Emacs 29.1 or above with tree-sitter support is required.
You'll also need the tree-sitter grammar here to be installed. Add it to treesit-language-source-alist
:
(add-to-list
'treesit-language-source-alist
'(typespec "https://github.com/happenslol/tree-sitter-typespec")
Then run M-x treesit-install-language-grammar [RET] typespec
to install it.