Make applying of additional completion edits go through the CompletionProvider
This commit is contained in:
@@ -61,6 +61,16 @@ impl CompletionProvider for MessageEditorCompletionProvider {
|
||||
) -> Task<anyhow::Result<bool>> {
|
||||
Task::ready(Ok(false))
|
||||
}
|
||||
|
||||
fn apply_additional_edits_for_completion(
|
||||
&self,
|
||||
_buffer: Model<Buffer>,
|
||||
_completion: Completion,
|
||||
_push_to_history: bool,
|
||||
_cx: &mut ViewContext<Editor>,
|
||||
) -> Task<Result<Option<language::Transaction>>> {
|
||||
Task::ready(Ok(None))
|
||||
}
|
||||
}
|
||||
|
||||
impl MessageEditor {
|
||||
|
||||
Reference in New Issue
Block a user