-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "lsp: Parse LSP messages on background thread - again (#23122)" (
#23301) This reverts commit 1b3b825. When debugging git diffs we found that this introduced a re-ordering of messages sent to the LSP: * User hits "format" * Zed adjusts spacing, and sends "spaces changed" to the LSP * Zed sends "format" to LSP With the async approach here, the format request can now arrive before the space changed request. You can reproduce this with `test_strip_whitespace_and_format_via_lsp` under some conditions. Release Notes: - N/A
- Loading branch information
1 parent
0dda985
commit a247617
Showing
3 changed files
with
62 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters