Do not format or fully save non-dirty buffers (#9813)

Fixes https://github.com/zed-industries/zed/issues/9475

Release Notes:

- Start skipping formatting and actual FS saving for non-dirty buffers
([9475](https://github.com/zed-industries/zed/issues/9475))
9d4c6c60fbKirill Bulatov committed on 3/26/2024, 3:17:20 PM· committed by GitHubparentf495ee0
3 files changedLine totals unavailable