rubyide / vscode-ruby

Provides Ruby language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby
MIT License
1.26k stars 285 forks source link

Update rubyfmt to pass in --header-opt-out args #838

Closed matthewford closed 1 year ago

matthewford commented 1 year ago

This is to allow to skip formatting files with a # rubyfmt: false comment at the top of the file.

https://github.com/penelopezone/rubyfmt/issues/354

We can't use a custom binary as then it is not a formatter option that is allowed by the VSCode extension.