mark-wiemer-org / ahkpp

AutoHotkey Plus Plus (AHK++) - AutoHotkey v1 and v2 support for VS Code
https://marketplace.visualstudio.com/items?itemName=mark-wiemer.vscode-autohotkey-plus-plus
Other
152 stars 10 forks source link

Single-line `Hotkey` in fall-through scenario #429

Closed kyklish closed 3 months ago

kyklish commented 4 months ago

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