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

Add formatting support #24

Merged
merged 6 commits into from Dec 23, 2020
Merged

Add formatting support #24

merged 6 commits into from Dec 23, 2020

Conversation

mlavrent
Copy link
Contributor

@mlavrent mlavrent commented Dec 21, 2020

This adds formatting support. Gets the indenter using read-language and getting the drracket:indentation setting (with a default fallback to use the racket indenter).

Making the draft pr now so it's visible. Will be testing in the near future:

  • #lang with different indenter

Closes #1 .

@jeapostrophe
Copy link
Owner

This looks like the right thing! I'm glad it was relatively easy to do. Let me know when you've done some more testing and think it is ready to go! Thank you!

@mlavrent mlavrent marked this pull request as ready for review December 22, 2020 16:49
@mlavrent
Copy link
Contributor Author

mlavrent commented Dec 22, 2020

Ok seems to be good to go - it's succesfully getting the right #lang indenter for the given #lang and indenting correctly for the few custom indenters I've tried.

@mlavrent mlavrent changed the title [draft] Add formatting support Add formatting support Dec 22, 2020
@jeapostrophe jeapostrophe merged commit 303498c into jeapostrophe:master Dec 23, 2020
@jeapostrophe
Copy link
Owner

Awesome, thank you!

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.

Implement formatting support
2 participants