-
Notifications
You must be signed in to change notification settings - Fork 20
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
not formatting correctly when line is too long #62
Comments
Encountered the bug recently too and have just pushed a fix to my fork. Will soon open a PR here |
(please don't send code as screenshot 😢 , just the the triple back quote) This is probably made by the |
This is caused by some weird Norminette exception that variable assignments have one additional indent when nesting occurs. Don't ask me the reasoning behind this..... |
sorry for the screenshot, I just saw this issue #50, so it seems that both assigning and calling a function add an indent level, that's why it needed one more here |
so
and
are now correctly formated, but
should be
|
it fixed
(correct) but does not work for
(same with)
|
Ah I see. The problem is it only matches |
I mean perhaps I could change it to |
Alright fixed now with a tweaked regex |
everything seems good, thanks 👍 |
when we continue the previous line on a new line, we need to indent twice instead of once, but it re formats to only one tab so we need to save without formatting.


wrong (just formatted):
correct:
The text was updated successfully, but these errors were encountered: