mirror of
https://github.com/encounter/zed.git
synced 2026-07-11 06:19:04 -07:00
Fix formatters not running in order (#24584)
Previously, if multiple formatters were specified for the same language, they would be run in parallel on the state of the file, and then all edits would be applied. This lead to incorrect output with many unwanted artifacts. This PR refactors the formatting code to clean it up, and ensure results from previous formatters are passed in to subsequent formatters. Closes #15544 Release Notes: - Fixed an issue where when running multiple formatters they would be ran in parallel rather than sequentially, leading to unwanted artifacts and incorrect output. --------- Co-authored-by: Conrad <conrad@zed.dev>
This commit is contained in:
+187
-302
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user