aboutsummaryrefslogtreecommitdiff
path: root/runtime/syntax/python.vim
diff options
context:
space:
mode:
authorArtem Krinitsyn <arkriny@gmail.com>2026-07-21 20:32:13 +0300
committerGitHub <noreply@github.com>2026-07-21 10:32:13 -0700
commit9180c6e093391969b2751d09b6fa0397dbfc7882 (patch)
tree871cc751637a36e3ef8c54fba6076599fe309216 /runtime/syntax/python.vim
parent008ea4dd6519984dbddb9042bf1359f5d4a20035 (diff)
downloadrneovim-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