Files
neovim/runtime/doc
Riley Bruins c2c5a0297e fix(lsp): don't overlay insertion-style inline completions (#36477)
* feat(lua): `Range:is_empty()` to check vim.range emptiness

* fix(lsp): don't overlay insertion-style inline completions

**Problem:** Some servers commonly respond with an empty inline
completion range which acts as a position where text should be inserted.
However, the inline completion module assumes that all responses with a
range are deletions + insertions that thus require an `overlay` display
style. This causes an incorrect preview, because the virtual text should
have the `inline` display style (to reflect that this is purely an
insertion).

**Solution:** Only use `overlay` for non-empty replacement ranges.
2025-11-09 17:49:25 -08:00
..
2025-09-16 11:41:36 +08:00
2025-09-28 20:57:59 -07:00
2025-07-10 21:50:46 -04:00
2025-10-24 02:14:29 +02:00
2024-05-15 23:19:26 +02:00
2025-04-27 15:44:11 -07:00
2025-10-24 17:24:51 -07:00
2025-10-24 02:07:37 +02:00
2023-06-25 17:14:28 +02:00
2025-10-24 02:07:37 +02:00
2025-06-14 17:24:36 +02:00
2025-09-28 20:57:59 -07:00
2025-10-23 20:28:13 +03:00
2025-09-16 11:41:36 +08:00
2025-10-28 20:15:16 -07:00
2025-01-03 08:29:36 -08:00
2023-04-23 15:22:55 +02:00
2023-06-25 17:14:28 +02:00
2023-06-25 17:14:28 +02:00
2023-07-25 05:07:13 -07:00
2023-06-19 08:40:33 -07:00
2025-10-31 08:39:32 +01:00