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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse (newline)s and pass them to tree-sitter-elixir for injection #8

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

the-mikedavis
Copy link
Contributor

Ok I have here what I think is a hilariously simple fix for the woes of #1 (comment) 馃槃. The elixir grammar can use these newlines to terminate expressions, and the eex grammar doesn't really have any use for newlines anyways.

two

I think this should work well with the heex/surface grammars too.

What do you think?

@the-mikedavis
Copy link
Contributor Author

hmm thinking about this more, this does fix this particular case but I think the elixir grammar should still be more tolerant of a lack of newlines, I'll try spinning up an issue there as well

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

Successfully merging this pull request may close these issues.

None yet

1 participant