mirror of
https://github.com/nushell/nushell.git
synced 2025-03-13 06:58:47 +01:00
merge: conflicts resolved
This commit is contained in:
parent
72ffef2f4c
commit
7311decf30
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user