Co-authored-by: darkdi <rantovov5@gmail.com>
Co-authored-by: Qiaoxi Guo <28090444+breadtitor@users.noreply.github.com>
Co-authored-by: zaveshaa <zaveshaa@gmail.com>
This commit is contained in:
Justin M. Keyes
2026-08-23 12:38:07 -04:00
committed by GitHub
parent 211bef2315
commit 354ea3bf2a
18 changed files with 97 additions and 86 deletions

View File

@@ -401,7 +401,7 @@ function M.compute_diff(
position_encoding
)
-- Find the last position changed in the previous and current buffer.
-- prev_end_range is sent to the server as as the end of the changed range.
-- prev_end_range is sent to the server as the end of the changed range.
-- curr_end_range is used to grab the changed text from the latest buffer.
local prev_end_range, curr_end_range = compute_end_range(
prev_lines,