-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Haskell syntax highlighting? #1384
Comments
There is currently an issue preventing tree-sitter-haskell from compiling on some systems. The reason is that it uses C++ 14 features but some OSs still use C++ 11 by default. Because of this, the haskell treesitter grammar was disabled in helix. |
Hmm, the nix expression uses its own toolchain, so it might not have this problem. |
Haskell syntax highlighting is disabled in `helix-editor` by default. This is because of an issue compiling tree-sitter-haskell on M1 macs, as its default compiler doesn't support c++14. As we're using a nix-derived toolchain, we shouldn't be subject to this problem. See [this comment](helix-editor/helix#1384 (comment)) for more info.
After the changes to upgrade and reenable tree-sitter-haskell helix-editor#1417 for the purpose of enabling Haskell syntax highlighting helix-editor#1384, we might as well take the final step.
After the changes to upgrade and reenable tree-sitter-haskell helix-editor#1417 for the purpose of enabling Haskell syntax highlighting helix-editor#1384, we might as well take the final step.
Adding this to
languages.toml
gets LSP working:But there's no syntax highlighting. I'm not sure why,
tree-sitter-haskell
is a submodule of the repo, and there seem to be queries underruntime/queries
.I'm on
helix 0.5.0
fromnixpkgs
,but I've also triedmaster
, although when I buildmaster
I don't even get rust syntax highlighting.Any pointers?
The text was updated successfully, but these errors were encountered: