Artem Krinitsyn
290f7e69a1
backport: fix(lsp): guard linked_editing_range refresh on attach ( #40900 )
...
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.
(cherry picked from commit 9180c6e093 )
2026-07-22 10:43:05 +00:00
..
2026-07-15 20:45:05 -05:00
2025-05-06 05:15:31 -07:00
2026-07-18 08:37:51 +00:00
2026-03-13 20:32:01 +01:00
2026-05-19 01:08:18 +00:00
2026-03-13 20:32:01 +01:00
2026-04-15 19:46:07 +00:00
2026-07-22 10:43:05 +00:00
2025-08-17 20:40:28 -07:00
2026-04-22 09:24:45 +00:00
2026-07-04 20:33:10 +00:00
2026-06-25 16:35:51 +00:00
2026-03-12 11:12:56 +01:00
2025-12-16 13:22:05 -05:00
2026-03-13 15:57:36 -04:00
2025-12-30 01:44:52 -05:00
2026-04-30 13:09:55 +00:00
2026-04-25 13:51:22 -04:00
2026-02-23 17:33:13 -05:00
2026-05-07 12:03:02 +02:00
2025-06-06 15:36:48 +01:00
2026-04-30 13:09:55 +00:00
2026-05-29 18:56:59 +00:00
2026-02-12 07:15:20 -05:00
2026-01-12 10:58:01 -08:00
2026-07-05 10:27:04 +00:00
2026-06-06 10:52:40 +00:00
2026-01-09 10:07:15 +01:00
2026-03-11 18:00:18 +01:00
2026-03-23 08:00:53 -04:00
2026-03-12 11:04:05 -04:00
2026-06-20 16:19:02 -04:00
2026-04-05 19:24:57 +00:00
2026-07-05 10:39:22 +00:00
2026-05-07 05:16:53 -04:00
2024-02-03 16:53:41 +01:00
2026-05-08 10:17:30 +00:00
2025-02-10 03:04:01 -08:00
2026-05-20 20:00:45 +00:00
2026-04-30 13:09:55 +00:00
2025-07-12 20:54:22 -07:00
2026-05-29 15:56:13 +00:00
2026-03-23 10:14:48 -04:00
2026-05-20 08:44:03 +00:00
2026-04-30 13:09:55 +00:00
2026-04-08 23:26:03 +02:00