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

line <n> lines should be indented one level more #25

Closed
mark-wiemer opened this issue Jan 18, 2021 · 0 comments · Fixed by #57
Closed

line <n> lines should be indented one level more #25

mark-wiemer opened this issue Jan 18, 2021 · 0 comments · Fixed by #57
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@mark-wiemer
Copy link
Owner

mark-wiemer commented Jan 18, 2021

Describe the bug

In the demo for v1, when formatted, the lines between (LTrim and ) are indented to the same level:

str_multiline := "
(LTrim
line 1
line 2
line 3
)"

To Reproduce

Steps to reproduce the behavior:

  1. Go to demos/demo_for_ahk_v1.ahk
  2. Format the file
  3. See error around line 15

Expected behavior

When formatted, the lines between (LTrim and ) should be indented further, like so:

str_multiline := "
(LTrim
    line 1
    line 2
    line 3
)"
@mark-wiemer mark-wiemer added the bug something isn't working label Jan 18, 2021
@mark-wiemer mark-wiemer self-assigned this Jan 18, 2021
@mark-wiemer mark-wiemer added this to the 2021-02 February milestone Feb 5, 2021
@mark-wiemer mark-wiemer added the formatter code formatter issues label Feb 25, 2021
@mark-wiemer mark-wiemer mentioned this issue Mar 1, 2021
mark-wiemer added a commit that referenced this issue Mar 1, 2021
-   Fix indentation with parentheses ([#25](#25))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working formatter code formatter issues
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant