merge: conflicts resolved

This commit is contained in:
blindfs 2025-03-11 21:46:51 +08:00
parent 72ffef2f4c
commit 7311decf30

View File

@ -80,17 +80,7 @@ impl LanguageServer {
if sp < last_span {
continue;
}
<<<<<<< HEAD
let mut delta_start = range.start.character;
=======
// in case the start position is at the end of last line
let real_start_char = if range.end.line != range.start.line {
0
} else {
range.start.character
};
let mut delta_start = real_start_char;
>>>>>>> 5fa8f68d0 (test: lsp exportable completion)
if range.end.line == last_token_line {
delta_start -= last_token_char;
}