Sergei Slipchenko
0a113013fb
fix(diagnostics): position diagnostics using extmarks #34014
...
Problem:
Diagnostic positions are not being updated after text changes, which
means `vim.diagnostic.open_float` and `vim.diagnostic.jump` will work
with outdated positions when text is changed until diagnostics are
updated again (if ever).
Solution:
Create extmarks in `vim.diagnostic.set` and use their positions for
`vim.diagnostic.open_float` and `next_diagnostic` (used by
`vim.diagnostic.jump`, `vim.diagnostic.get_next` and
`vim.diagnostic.get_prev`).
2025-07-25 07:56:50 -07:00
..
2025-07-24 11:45:41 +00:00
2025-05-06 05:15:31 -07:00
2025-07-23 06:28:35 +08:00
2024-06-04 06:06:02 -07:00
2025-07-10 20:30:39 +08:00
2025-01-05 12:28:01 +01:00
2025-07-23 20:03:30 -07:00
2025-07-22 17:30:16 +00:00
2025-07-04 15:56:28 +03:00
2025-07-23 20:03:30 -07:00
2025-07-19 11:36:51 -07:00
2025-06-06 15:36:48 +01:00
2025-07-04 15:53:29 +03:00
2024-11-17 13:31:24 -08:00
2025-06-06 15:36:48 +01:00
2025-07-19 11:36:51 -07:00
2025-07-13 13:43:11 -07:00
2025-07-11 17:31:30 +02:00
2025-07-10 13:34:58 +01:00
2025-05-27 13:01:10 +02:00
2025-07-16 19:18:52 -07:00
2025-02-23 07:51:12 -08:00
2025-03-31 16:51:18 +01:00
2025-07-10 13:34:58 +01:00
2024-10-21 11:32:06 +01:00
2025-07-25 07:56:50 -07:00
2025-06-06 15:36:48 +01:00
2025-07-16 10:32:33 +02:00
2025-06-17 07:14:25 -07: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-06-06 15:36:48 +01: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-06-06 15:36:48 +01:00
2025-07-20 22:09:27 +08:00
2025-07-13 13:43:11 -07:00
2025-07-18 18:40:16 -07:00
2024-02-03 16:53:41 +01:00
2025-02-10 03:04:01 -08:00
2025-06-06 15:36:48 +01:00
2025-07-07 18:56:22 -07:00
2025-04-23 10:58:22 +02:00
2025-03-05 21:28:05 -06: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