Files
neovim/runtime/lua/vim
Tomasz N 556d8d0002 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.

(cherry picked from commit e69b81ad94)
2025-09-17 23:52:30 +00:00
..
2025-01-30 13:46:06 +01:00
2024-03-06 10:45:22 +00:00
2024-01-16 09:33:10 +00:00
2025-04-30 15:51:38 +02:00
2025-06-17 14:38:36 +00:00
2025-02-26 23:06:22 +01:00