shufo / prettier-plugin-blade

Format your blade template using Prettier
https://www.npmjs.com/package/@shufo/prettier-plugin-blade
MIT License
317 stars 8 forks source link

[Formatting Bug]: custom directives support? #289

Open kukac7 opened 4 days ago

kukac7 commented 4 days ago

Version

latest

Template before formatting

@hasfield('list')
  <ul>
    @fields('list')
      <li>@sub('item')</li>
    @endfields
  </ul>
@endfield

Template after formatting

Error formatting document.

Expected Behaviour

hi,

is it possible to somehow increase the number of supported directives? it seems that the https://github.com/log1x/sage-directives composer package is not supported. it says an error when formatting: Error formatting document.

thanks for the help!

Relevant log output

No response