-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
mint format some_file.mint
should return code 0 if no syntax error regardless if some_file.mint
if changed.
#548
Comments
I'm not sure what changes are requested here. The
This returns
It should catch the exception but still should return If you like to have formatting, I recommend using the mint language server itself, it has a command for formatting code and also format files when saved. |
Sorry about the false alarm.
That is The Right Thing To Do (TM).
The above is exactly what we need. |
👍 Can I close this issue then? |
Yes. |
Okay, thanks for reply, in fact, the Though, i don't understood why
What you said is LSP server? UPDATED: okay, i saw the |
That's right - I can reproduce this behavior. It seems different from the |
Yep that's a bug, reopening the issue then :) |
mint format some_file.mint
should return code 0 if no syntax error regardless if some_file.mint
if changed.
Please check following WIP discuss.
lassik/emacs-format-all-the-code#198
Also following PR:
lassik/emacs-format-all-the-code#200 (comment)
The text was updated successfully, but these errors were encountered: