diff options
| author | jdrouhard <john@drouhard.dev> | 2026-06-25 02:37:39 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-06-25 03:37:39 -0400 |
| commit | 3c924d13fe31d6fb9cd8b569b0454eea47773e25 (patch) | |
| tree | 5ce3f5340cd2a0595b6b48deb32908fff8f4233f /test/functional/vimscript/executable_spec.lua | |
| parent | e715122e4e2e25bc3530f164668ec392cfb195a7 (diff) | |
| download | rneovim-3c924d13fe31d6fb9cd8b569b0454eea47773e25.tar.gz rneovim-3c924d13fe31d6fb9cd8b569b0454eea47773e25.tar.bz2 rneovim-3c924d13fe31d6fb9cd8b569b0454eea47773e25.zip | |
fix(lsp): fire LspNotify didChange autocmds after undo/redo #40404
Problem: LspNotify autocmds were not being triggered for didChange
requests when being used during undo/redo (and possibly other) actions.
autocmds are blocked when calling on_lines() callbacks while doing the
undo/redo action.
Solution: Defer firing the autocmd until after the action is complete.
This is closer to what existed before, but now there's a check in the
deferred function to only fire the autocmd if the client is still
active and the buffer is still attached, if applicable.
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions