lsp: Use replace edits for completions (#23490)

(Late) follow up to #9634.
Fixes #23395

Release Notes:

- Accepting completions while the cursor is in the middle of suggested
completion will now result in smaller edits being applied.
3c0d05e362Piotr Osiewicz committed on 1/22/2025, 9:00:04 PM· committed by GitHubparent55d99e0
1 file changedLine totals unavailable