# Add autosave with delay \(\#11325\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 78f1482cd19af29dd1a1119ad562eedd73d01a34

Requested commit: 78f1482cd19af29dd1a1119ad562eedd73d01a34

Commit: 78f1482cd19af29dd1a1119ad562eedd73d01a34

Tree: 9e557b8d0bf727270b8314817342b3a425a52e7d

Author: João Miguel Nogueira

Committer: GitHub

## Message

```
Add autosave with delay (#11325)

Implemented autosave functionality with a delay, which now refrains from
formatting the code upon triggering unless the user manually saves it.
Additionally, enhanced documentation for the `format_on_save` setting
has been added. This resolves the issue where autosave with delay would
inadvertently format the code, disrupting the user experience, as
reported in the corresponding issue.

Release Notes:

- Fixed a bug where autosave after_delay would auto-format the buffer
([#9787](https://github.com/zed-industries/zed/issues/9787)).

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

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

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