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

Unindent before ) #77

Open
mahrud opened this issue Dec 11, 2024 · 0 comments
Open

Unindent before ) #77

mahrud opened this issue Dec 11, 2024 · 0 comments

Comments

@mahrud
Copy link
Member

mahrud commented Dec 11, 2024

Currently the indentation rule for M2-mode (which is the de factor standard M2 style) is like this:

f = x -> (
    2 * x
    )

More and more though, as people use VSCode or learn M2 after other languages, they expect something like:

f = x -> (
    2 * x
)

I think we should discuss making this official in M2-mode so there isn't two different styles floating around.

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