Files
neovim/runtime
Rishikesh Vaishnav ac10c0f418 fix(lsp): abort pending changes after flush when debouncing (#19314)
Issuing a server request triggers `changetracking.flush` so as to
make sure we're not operating on a stale state. This immediately
triggers notification of any pending changes (as a result of debouncing)
to the server. However, this happens in addition to the notification
that is waiting on the debounce delay. Because we `nil`
`buf_state.pending_change` when it is called, the fix is to
also check that this is non-`nil` when it is called and exit if it is,
as this being `nil` would mean that it originates from a pending change
that has already been flushed out.
2022-07-11 12:48:02 +02:00
..
2022-07-02 11:06:03 +02:00
2022-06-15 09:20:32 +02:00
2022-06-17 20:38:21 +02:00
2022-07-02 11:06:03 +02:00
2022-06-24 14:45:07 +02:00
2021-09-13 16:33:41 +02:00
2021-05-01 22:29:03 -04:00
2014-12-19 15:28:49 -05:00
2021-03-09 19:21:26 +01:00
2022-07-07 08:15:33 +02:00
2021-11-27 19:39:42 +01:00
2019-07-29 20:50:07 +02:00
2021-04-27 09:21:32 -04:00
2019-07-29 20:50:07 +02:00
2022-04-15 13:38:44 +02:00
2022-06-04 11:56:36 +08:00
2021-05-01 22:29:02 -04:00