diff options
| author | Jaehwang Jung <tomtomjhj@gmail.com> | 2026-04-19 04:38:09 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-04-18 15:38:09 -0400 |
| commit | 97caa88972c767122d18034f7462ed8b923b5fe0 (patch) | |
| tree | 0407e0c6dd3a1adb73f5b3feb39f1c1aa3686591 /test/functional/vimscript/executable_spec.lua | |
| parent | f0329092f749ed7e1f7df7e766db9d6cc687169c (diff) | |
fix(lsp): skip codelens refresh redraw for deleted buffer #39193
Problem:
After on_refresh() sends a textDocument/codeLens request, the buffer may
be deleted before the response arrives. The response callback then tries
to redraw that deleted buffer and raises Invalid buffer id error.
Solution:
Check buffer validity before redrawing.
AI-assisted: Codex
Co-authored-by: Yi Ming <ofseed@foxmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions
