Fix slash command argument completion bugs (#16233)

Release Notes:

- N/A

---------

Co-authored-by: Mikayla Maki <mikayla@zed.dev>
This commit is contained in:
Kirill Bulatov
2024-08-14 19:36:55 +03:00
committed by GitHub
co-authored by Mikayla Maki
parent 6365000b68
commit 8df21f7bcd
8 changed files with 67 additions and 27 deletions
@@ -150,6 +150,7 @@ impl SlashCommand for DiagnosticsSlashCommand {
label: completion.clone().into(),
new_text: completion,
run_command: true,
replace_previous_arguments: false,
})
.collect())
})