# language: Don't add final newline on format for an empty buffer \(\#32320\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8332e60ca99187b1c08be50173357b2f1cc68dc4

Requested commit: 8332e60ca99187b1c08be50173357b2f1cc68dc4

Commit: 8332e60ca99187b1c08be50173357b2f1cc68dc4

Tree: 5d2a4cae2fd4353e6c6287652bc26eb46ff362e2

Author: Evan Simkowitz

Committer: GitHub

## Message

```
language: Don't add final newline on format for an empty buffer (#32320)

Closes #32313

Release Notes:

- Fixed newline getting added on format to empty files
```

## Parents

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

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