# Don't allow formatters in format on save \(\#39400\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/4c35274b6e695d110cf40d50b49d89ec84863a48)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 4c35274b6e695d110cf40d50b49d89ec84863a48

Requested commit: 4c35274b6e695d110cf40d50b49d89ec84863a48

Commit: 4c35274b6e695d110cf40d50b49d89ec84863a48

Tree: 34709a7f9fe458297a406a872d8155f91f331116

Author: Ben Kunkle

Committer: GitHub

## Message

```
Don't allow formatters in format on save (#39400)

Closes #ISSUE



Release Notes:

- settings: Removed support for having format steps in both the
`format_on_save` and `formatter` settings for languages.
`format_on_save` is now restricted to the values of `"on"` and `"off"`,
and all format steps should be set under the `formatter` key. If you
were using `format_on_save` but not `formatter` this will be migrated
for you, otherwise it will require a manual migration.

---------

Co-authored-by: Smit <smit@zed.dev>
```

## Parents

- [bf48a953448d5239404d01608be002af730ec58e](https://git.cafe/gitcafe/zed/commit/bf48a953448d5239404d01608be002af730ec58e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/4c35274b6e695d110cf40d50b49d89ec84863a48?format=markdown)
