-
Notifications
You must be signed in to change notification settings - Fork 24
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
Check if atom-elmjutsu can use a tree sitter for code highlighting #165
Comments
Looks cool! How do we use that? |
I have no idea, will hopefully be back with some more info later. (btw in the longrun it might make sense to also rely on the language server I'm writing) |
You may need to publish it first: https://flight-manual.atom.io/hacking-atom/sections/creating-a-grammar/#the-parser |
It should be published? Btw the link above https://github.com/tree-sitter/tree-sitter-python/blob/master/properties/highlights.css is not relevant at all |
That link is relevant for creating a language package for Atom, but not relevant for the Tree-sitter grammar itself 😉. |
According to the author it's not (yet) relevant https://twitter.com/maxbrunsfeld/status/1131339401189965825 |
There now is https://atom.io/packages/language-elm-treesitter/ |
See https://github.com/Razzeee/tree-sitter-elm for my implementation, I believe, that we would still need a css file for the colors like here for python https://github.com/tree-sitter/tree-sitter-python/blob/master/properties/highlights.css
It should hopefully improve code highlighting with broken syntax
The text was updated successfully, but these errors were encountered: