This commit is contained in:
Antonio Scandurra 2023-04-05 14:14:43 +02:00
parent f920e02d96
commit dd416cdfd2

View file

@ -3279,7 +3279,7 @@ impl Editor {
}
}
// Accept copilot suggestion if there is only one selection and the cursor is
// Accept copilot suggestion if there is only one selection and the cursor is not
// in the leading whitespace.
if self.selections.count() == 1
&& selection.start.column >= current_indent.len