Tomasz N
e69b81ad94
fix(lsp): treat 2-triggers-at-once as "last char wins" #35435
...
Problem:
If there are 2 language servers with different trigger chars (`-` and
`>`), and a keymap inputs both simultaneously (`->`), then `>` doesn't
trigger. We get completion items from server1 only.
This happens because the `completion_timer` for the `-` trigger is still
pending.
Solution:
If the next character arrived enough quickly (< 25 ms), replace the
existing deferred autotrigger with a new one that matches this later
character.
2025-09-17 09:07:45 -07:00
..
2025-08-28 06:41:31 -07:00
2025-09-06 14:19:12 -07:00
2025-05-06 05:15:31 -07:00
2025-09-16 11:41:36 +08:00
2024-06-04 06:06:02 -07:00
2025-09-05 17:22:24 +08:00
2025-01-05 12:28:01 +01:00
2025-08-27 20:01:07 -07:00
2025-09-17 09:07:45 -07:00
2025-08-17 20:40:28 -07:00
2025-07-04 15:56:28 +03:00
2025-08-31 11:17:21 -07:00
2025-09-09 12:56:49 +02:00
2025-08-22 15:05:43 -05:00
2025-08-02 15:00:41 +03:00
2024-11-17 13:31:24 -08:00
2025-08-28 11:34:01 +02:00
2025-09-16 11:41:36 +08:00
2025-09-16 06:06:02 +08:00
2025-07-11 17:31:30 +02:00
2025-07-10 13:34:58 +01:00
2025-08-23 12:01:38 -07:00
2025-08-17 11:54:53 +08:00
2025-02-23 07:51:12 -08:00
2025-03-31 16:51:18 +01:00
2025-09-16 11:41:36 +08:00
2025-09-15 11:15:25 +08:00
2025-08-28 11:34:01 +02:00
2025-06-06 15:36:48 +01:00
2025-09-17 09:08:27 +08:00
2025-08-28 11:34:01 +02:00
2025-05-10 14:42:48 -07:00
2025-06-03 06:36:44 -07:00
2025-07-08 05:21:09 -07:00
2025-08-28 11:34:01 +02:00
2025-01-27 16:37:50 +00:00
2025-07-22 17:40:24 -07:00
2025-07-10 21:50:46 -04:00
2025-08-28 11:34:01 +02:00
2025-09-15 17:50:53 -07:00
2025-09-16 11:41:36 +08:00
2025-09-13 13:32:09 -07:00
2025-08-24 22:17:34 -04:00
2024-02-03 16:53:41 +01:00
2025-09-16 11:41:36 +08:00
2025-02-10 03:04:01 -08:00
2025-07-28 22:00:25 -04:00
2025-09-13 22:49:50 -04:00
2025-09-16 11:41:36 +08:00
2025-08-22 15:05:43 -05:00
2025-07-12 20:54:22 -07:00
2025-06-14 17:24:36 +02:00
2025-06-18 03:20:18 -07:00
2025-01-27 16:37:50 +00:00
2025-07-23 20:03:30 -07:00