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

No indent after `#If Directive` if fall-through one-line hotkey is above it. #440

Closed kyklish closed 3 months ago

kyklish commented 3 months ago

Description

No indent after #If Directive if fall-through one-line hotkey is above it.

Broken by 5.0.4 update

Expected formatted output snippet

F1::
F2::code
#IfWinActive, WinTitle
    F3::code
#If

Actual formatted output snippet

F1::
F2::code
#IfWinActive, WinTitle
F3::code
#If