diff options
| author | Jaehwang Jung <tomtomjhj@gmail.com> | 2025-08-18 03:37:24 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-17 11:37:24 -0700 |
| commit | 285c04e2d0e3adc2a05d6fd8d0fdcee313ec1b08 (patch) | |
| tree | 99156784af90ff29661fea1fc57c013b7464f952 /runtime/syntax/python.vim | |
| parent | 35a7642647858f7b4ddc204ee869c399b678e7e8 (diff) | |
| download | rneovim-285c04e2d0e3adc2a05d6fd8d0fdcee313ec1b08.tar.gz rneovim-285c04e2d0e3adc2a05d6fd8d0fdcee313ec1b08.tar.bz2 rneovim-285c04e2d0e3adc2a05d6fd8d0fdcee313ec1b08.zip | |
fix(api,lsp): call on_detach before wiping out the buffer #35355
Problem:
Buffer-updates on_detach callback is invoked before buf_freeall(), which
deletes autocmds of the buffer (via apply_autocmds(EVENT_BUFWIPEOUT,
...)). Due to this, buffer-local autocmds executed in on_detach (e.g.,
LspDetach) are not actually invoked.
Solution:
Call buf_updates_unload() before buf_freeall().
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions