-
-
Notifications
You must be signed in to change notification settings - Fork 90
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
Weird indentation with type inference on methods #230
Comments
I'm getting the same thing with single lines being indented too much:
Thanks for the awesome tool @Swimat team, can't wait for more improvements |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is the issue
Swimat's indentation seems to behave incorrectly with lines beginning with
.
which are inferring a type.For example:
If it were
MyClass
above instead of.init
the indentation works as expected, but it's nicer to use type inference.Even a single line indents too much:
Expected behavior
Desktop (please complete the following information):
Additional context
Does this in the Preview tool of the Swimat macOS app too.
The text was updated successfully, but these errors were encountered: