marcandre / freedom_formatter

A fork of Elixir's code formatter, with added freedom.
Apache License 2.0
24 stars 3 forks source link

Update instructions to enable in test env #7

Open axelson opened 1 year ago

axelson commented 1 year ago

By default ElixirLS will run with MIX_ENV=test. This means that if freedom_formatter is only enabled in the dev env that a user of VSCode with the ElixirLS extension will get this error:

Mix.Error Formatter plugin FreedomFormatter cannot be found

vanderhoop commented 1 year ago

This just bit me. Let's merge!