Show recently-opened files when autocompleting /file without arguments (#12434)

<img width="1588" alt="image"
src="https://github.com/zed-industries/zed/assets/482957/ea63b046-64d6-419e-8135-4863748b58fa">


Release Notes:

- N/A
This commit is contained in:
Antonio Scandurra 2024-05-29 17:46:18 +02:00 committed by GitHub
parent dca5bc5986
commit 66affa969a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 108 additions and 62 deletions

View file

@ -4004,6 +4004,10 @@ impl Editor {
(confirm)(cx);
}
if completion.show_new_completions_on_confirm {
self.show_completions(&ShowCompletions, cx);
}
let provider = self.completion_provider.as_ref()?;
let apply_edits = provider.apply_additional_edits_for_completion(
buffer_handle,