diff options
| author | Toby She <dr.tobyshe@gmail.com> | 2025-11-12 23:43:25 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-12 20:43:25 -0800 |
| commit | 4dd9137215f88bb6eabe386a7e474c59783a6486 (patch) | |
| tree | 66ecca6e317dba1aa5f35e061b5e2b22a1560f11 /runtime/lua/vim/_stringbuffer.lua | |
| parent | 4143bcbd37572bc40e242867ab60675a33cfad0f (diff) | |
| download | rneovim-4dd9137215f88bb6eabe386a7e474c59783a6486.tar.gz rneovim-4dd9137215f88bb6eabe386a7e474c59783a6486.tar.bz2 rneovim-4dd9137215f88bb6eabe386a7e474c59783a6486.zip | |
fix(lsp): reuse_win prioritizes windows/tabs currently displayed #36486
Problem: reuse_win will always jump to the first window containing the
target buffer rather even if the buffer is displayed in the current
window/tab
Solution: check to see if the buffer is already displayed in the
current window or any window of the current buffer
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions