assistant: Fix file slash command not allowing to select multiple files when pressing tab (#17652)
Release Notes: - Allow to add multiple files in a single `/file` command when pressing tab
This commit is contained in:
parent
5f61e3140f
commit
0b0cd9005e
1 changed files with 1 additions and 5 deletions
|
@ -164,11 +164,7 @@ impl SlashCommand for FileSlashCommand {
|
||||||
Some(ArgumentCompletion {
|
Some(ArgumentCompletion {
|
||||||
label,
|
label,
|
||||||
new_text: text,
|
new_text: text,
|
||||||
after_completion: if path_match.is_dir {
|
after_completion: AfterCompletion::Compose,
|
||||||
AfterCompletion::Compose
|
|
||||||
} else {
|
|
||||||
AfterCompletion::Run
|
|
||||||
},
|
|
||||||
replace_previous_arguments: false,
|
replace_previous_arguments: false,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue