mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-11 04:36:24 +00:00
assistant: Run /docs
when completing a suggested (unindexed) package (#16218)
This PR is a follow-up to https://github.com/zed-industries/zed/pull/16216, as we want to run the `/docs` command when completing a suggested package that has yet to be indexed. Release Notes: - N/A
This commit is contained in:
parent
8fe2de1737
commit
f8a72b5d0a
1 changed files with 1 additions and 1 deletions
|
@ -233,7 +233,7 @@ impl SlashCommand for DocsSlashCommand {
|
|||
.map(|package_name| ArgumentCompletion {
|
||||
label: format!("{package_name} (unindexed)").into(),
|
||||
new_text: format!("{package_name}"),
|
||||
run_command: false,
|
||||
run_command: true,
|
||||
})
|
||||
.collect::<Vec<_>>();
|
||||
items.extend(workspace_crate_completions);
|
||||
|
|
Loading…
Reference in a new issue