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

end indentation doesn't work (contrary to the commit) #5

Closed
KaranAhlawat opened this issue Jun 19, 2023 · 1 comment
Closed

end indentation doesn't work (contrary to the commit) #5

KaranAhlawat opened this issue Jun 19, 2023 · 1 comment

Comments

@KaranAhlawat
Copy link
Owner

KaranAhlawat commented Jun 19, 2023

I have some ideas to fix it, but the best route would be they fix the end marker grouping in the tree-sitter-scala grammar itself. Tracked in this issue on the tree-sitter-scala repo.

If not, we can rely on regex search (I know, the horror).
Not that high priority, since I haven't seen that many people actually use alot of end markers. But still, I'd like to get it right.

@KaranAhlawat
Copy link
Owner Author

Okay for now I think it's cool if we rely on regex. There might be some work done in the future to capture then end clause correctly, but till then, the regex approach works pretty nicely.

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

No branches or pull requests

1 participant