Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tree-sitter #1804

Open
unhammer opened this issue Apr 24, 2023 · 1 comment
Open

tree-sitter #1804

unhammer opened this issue Apr 24, 2023 · 1 comment

Comments

@unhammer
Copy link
Contributor

Now that tree-sitter is included in Emacs 29 it'd be nice to use that for Haskell and have it all in one place. There's a wip at
https://github.com/erikbackman/haskell-ts-mode – could that be used as a basis?

@purcell
Copy link
Member

purcell commented Apr 24, 2023

Thanks for the pointer. It's not good practice to include code within a package that requires new Emacs versions when the package overall aims for compatibility with older Emacsen. (Partly because it can't byte-compile on the old versions, but also because it makes the deps subjective rather than authoritative.) So as a general preference, a separate package which adds tree-sitter support would be preferable.

From my side, I haven't spent time digging into this pre-release Emacs functionality yet but I can see how it will be significantly useful in the coming years. Which is also to say that I'm probably not the person to work on more "official" support for TS in haskell-mode. (I work less and less with Haskell now, and yet still somehow qualify as the most active maintainer for this repo these days, which probably isn't very sustainable.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants