Revert "Refactor completions" (#42014)

Reverts zed-industries/zed#41939
This commit is contained in:
Andrew Farkas
2025-11-05 16:48:28 +00:00
committed by GitHub
parent 27fb1098fa
commit b8ba663c20
5 changed files with 150 additions and 146 deletions
+1 -1
View File
@@ -477,7 +477,7 @@ impl TextThreadEditor {
editor.insert(&format!("/{name}"), window, cx);
if command.accepts_arguments() {
editor.insert(" ", window, cx);
editor.show_completions(&ShowCompletions, window, cx);
editor.show_completions(&ShowCompletions::default(), window, cx);
}
});
});