Oleh Volynets
b55a868309
feat(diagnostic): debounce current-line render #39542
...
Problem: vim.diagnostic.Opts.VirtualLines.current_line and
vim.diagnostic.Opts.VirtualText.current_line cause redraw
on every CursorMoved event that makes the text jump
uncomfortably with rapid cursor movement.
Solution: `current_line` state is applied only on CursorHold,
while still being cleared on CursorMoved making it so that
until the cursor has stopped on a line, its diagnostic
looks like cursor is not on the line preventing flicker.
2026-06-15 11:11:57 -04:00
..
2026-06-15 09:12:15 -04:00
2025-05-06 05:15:31 -07:00
2026-06-14 17:04:46 -04:00
2026-03-13 20:32:01 +01:00
2026-06-15 11:11:57 -04:00
2026-06-15 05:48:35 +00:00
2026-03-13 20:32:01 +01:00
2026-05-20 17:33:01 -04:00
2026-06-15 07:19:09 -04:00
2026-06-02 08:41:36 -04:00
2026-05-08 12:26:40 +00:00
2026-06-02 18:17:03 +08:00
2026-05-06 08:15:00 -04:00
2026-05-20 17:33:01 -04:00
2026-05-20 17:33:01 -04:00
2025-12-16 13:22:05 -05:00
2026-03-13 15:57:36 -04:00
2026-04-30 07:26:40 -04:00
2026-05-13 15:54:34 -04:00
2026-05-10 11:03:15 -04:00
2026-05-20 14:09:20 +02:00
2026-06-15 11:11:57 -04:00
2026-05-06 11:13:15 -04:00
2026-06-13 13:20:45 -04:00
2026-05-29 14:24:22 -04:00
2026-02-12 07:15:20 -05:00
2026-01-12 10:58:01 -08:00
2026-05-20 14:09:20 +02:00
2026-06-08 16:12:14 -04:00
2026-01-09 10:07:15 +01:00
2026-05-06 16:02:59 +01:00
2026-05-30 12:57:24 +02:00
2026-05-11 16:51:58 +08:00
2026-05-10 11:03:15 -04:00
2026-05-20 17:33:01 -04:00
2026-05-05 16:26:59 -04:00
2026-05-20 17:33:01 -04:00
2026-06-08 19:52:51 +08:00
2024-02-03 16:53:41 +01:00
2026-05-30 12:57:24 +02:00
2025-02-10 03:04:01 -08:00
2026-05-20 15:27:43 -04:00
2026-05-20 17:33:01 -04:00
2025-07-12 20:54:22 -07:00
2026-06-02 11:12:11 +02:00
2026-05-20 17:33:01 -04:00
2026-05-20 17:33:01 -04:00
2026-04-30 07:12:35 -04:00
2026-04-08 13:33:00 -04:00