-
-
Notifications
You must be signed in to change notification settings - Fork 884
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add lsp-flush-delayed-changes-before-next-message option
Some LSP clients spam the server with message, such as "textDocument/codeAction" requests on every keystroke, so if we require synchronizing the delayed changes before the next LSP message, it looses its meaning: In most cases the next cursor movement comes right after a change, so `lsp--send-no-wait` forces the change notification out before it sends the codeAction request. Let the users of the slow LSP servers that depend on this change notification throttling customize this behavior to choose their own tradeoff.
- Loading branch information
Showing
2 changed files
with
15 additions
and
3 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