Add default method for CompletionProvider::resolve_completions
(#32045)
Release Notes: - N/A
This commit is contained in:
parent
894f3b9d15
commit
03a030fd00
6 changed files with 11 additions and 65 deletions
|
@ -20325,11 +20325,13 @@ pub trait CompletionProvider {
|
|||
|
||||
fn resolve_completions(
|
||||
&self,
|
||||
buffer: Entity<Buffer>,
|
||||
completion_indices: Vec<usize>,
|
||||
completions: Rc<RefCell<Box<[Completion]>>>,
|
||||
cx: &mut Context<Editor>,
|
||||
) -> Task<Result<bool>>;
|
||||
_buffer: Entity<Buffer>,
|
||||
_completion_indices: Vec<usize>,
|
||||
_completions: Rc<RefCell<Box<[Completion]>>>,
|
||||
_cx: &mut Context<Editor>,
|
||||
) -> Task<Result<bool>> {
|
||||
Task::ready(Ok(false))
|
||||
}
|
||||
|
||||
fn apply_additional_edits_for_completion(
|
||||
&self,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue