shufo / vscode-blade-formatter

An opinionated Blade file formatter for VSCode

Home Page:https://marketplace.visualstudio.com/items?itemName=shufo.vscode-blade-formatter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Formatting Bug]: @unless has no space between it and the opening parenthesis

mazedlx opened this issue · comments

Platform

MacOS

Template before formatting

@unless($value)
    {{ $bob }}
@endunless

Template after formatting

@unless($value)
    {{ $bob }}
@endunless

Expected Behaviour

@unless ($value)
    {{ $bob }}
@endunless

It should add a space between @unless and the opening parenthesis, similiar to how it handles @if

Relevant log output

No response

Also requested in shufo/blade-formatter#690
I'll fix this behaviour soon.