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]: @error directive forces newline

jerothor opened this issue · comments

Platform

Windows

Template before formatting

@error('password') <div class="invalid-feedback">{{ $message }}</div> @enderror

Template after formatting

@error('password')
    <div class="invalid-feedback">{{ $message }}</div>
@enderror

Expected Behaviour

the error directive should not force newlines

it should work just like the @if directive, where i can have it all on a single line if i want

Relevant log output

No response

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days