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

Single-line Hotkey in fall-through scenario #429

Closed
kyklish opened this issue Apr 22, 2024 · 0 comments · Fixed by #433
Closed

Single-line Hotkey in fall-through scenario #429

kyklish opened this issue Apr 22, 2024 · 0 comments · Fixed by #433
Assignees
Labels
bug something isn't working formatter code formatter issues

Comments

@kyklish
Copy link
Contributor

kyklish commented Apr 22, 2024

Description

Fall-through single-line hotkey got wrong indent.

Expected formatted output snippet

F1::
F2:: Foo(A_ThisHotkey)
F3:: Bar()
F4::
    code
return

Actual formatted output snippet

F1::
    F2:: Foo(A_ThisHotkey)
    F3:: Bar()
F4::
    code
return
@kyklish kyklish added bug something isn't working formatter code formatter issues labels Apr 22, 2024
@kyklish kyklish changed the title Fall through hotkey makes indent Fall through hotkey indent Apr 22, 2024
@kyklish kyklish changed the title Fall through hotkey indent Fall through hotkey indent (single line hotkey formatted like regular code) May 14, 2024
@kyklish kyklish changed the title Fall through hotkey indent (single line hotkey formatted like regular code) Single line Hotkey formatted like regular code May 14, 2024
@kyklish kyklish changed the title Single line Hotkey formatted like regular code Single-line Hotkey formatted like regular code May 14, 2024
@kyklish kyklish changed the title Single-line Hotkey formatted like regular code Single-line Hotkey in fall-through scenario May 14, 2024
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
None yet
Development

Successfully merging a pull request may close this issue.

2 participants