Eike
0ed06d7271
fix(lsp): check if client is stopping before reuse #33796
...
Problem:
Stopping a language server and then calling vim.lsp.start() with the same name/root will return the old language server that's in the middle of shutting down. vim.lsp.start() won't return a new server until the old process has terminated.
Solution:
Introducing a client._is_stopping field that tracks the shutdown phase, preventing the client from being reused.
(cherry picked from commit 0862c1036a )
2025-05-04 22:26:30 +00:00
..
2025-03-17 17:13:04 -07:00
2025-05-03 19:10:02 +00:00
2024-06-04 06:06:02 -07:00
2025-01-30 13:46:06 +01:00
2025-01-05 12:28:01 +01:00
2025-01-27 16:37:50 +00:00
2025-05-04 22:26:30 +00:00
2025-03-30 17:01:35 +00:00
2025-05-03 23:41:23 +00:00
2025-03-05 09:45:22 -06:00
2024-11-17 13:31:24 -08:00
2025-03-02 18:38:13 +01:00
2025-03-31 13:42:29 +00:00
2025-03-26 07:35:12 +08:00
2024-03-06 10:45:22 +00:00
2025-03-18 09:39:19 +01:00
2024-10-21 00:54:43 +02:00
2025-02-23 07:51:12 -08:00
2025-04-16 12:38:46 +00:00
2024-10-21 11:32:06 +01:00
2025-04-03 16:49:58 +00:00
2024-01-16 09:33:10 +00:00
2025-04-30 15:51:38 +02:00
2025-04-27 23:00:36 +00:00
2025-01-05 12:28:01 +01:00
2025-01-27 16:37:50 +00:00
2025-04-27 22:35:39 +02:00
2025-04-05 23:19:19 +00:00
2025-01-27 16:37:50 +00:00
2025-03-15 15:00:44 +01:00
2024-10-21 11:32:06 +01:00
2024-12-04 10:17:46 -06:00
2025-05-04 22:26:30 +00:00
2024-02-03 16:53:41 +01:00
2025-02-10 03:04:01 -08:00
2025-04-30 14:35:41 -07:00
2025-04-30 15:51:38 +02:00
2025-04-23 09:24:54 +00:00
2025-03-05 21:28:05 -06:00
2025-02-26 23:06:22 +01:00
2025-03-11 14:45:01 +01:00
2025-02-28 23:14:01 +00:00
2025-01-27 16:37:50 +00:00
2024-12-23 05:08:20 -08:00