diff options
| author | Artem Krinitsyn <arkriny@gmail.com> | 2026-07-21 20:32:13 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-21 10:32:13 -0700 |
| commit | 9180c6e093391969b2751d09b6fa0397dbfc7882 (patch) | |
| tree | 871cc751637a36e3ef8c54fba6076599fe309216 /runtime/syntax/python.vim | |
| parent | 008ea4dd6519984dbddb9042bf1359f5d4a20035 (diff) | |
| download | rneovim-9180c6e093391969b2751d09b6fa0397dbfc7882.tar.gz rneovim-9180c6e093391969b2751d09b6fa0397dbfc7882.tar.bz2 rneovim-9180c6e093391969b2751d09b6fa0397dbfc7882.zip | |
fix(lsp): guard linked_editing_range refresh on attach (#40888)
Problem:
on_attach() calls refresh(), but there is no guarantee the attached
buffer is the current buffer. This can make linked editing request
handling assume the wrong window.
Solution:
Call refresh() only if the current buffer is attached. This keeps the
initial highlighting behavior while avoiding making incorrect request.
Diffstat (limited to 'runtime/syntax/python.vim')
0 files changed, 0 insertions, 0 deletions