dap: Inline empty completer
This commit is contained in:
parent
5938ab1bf1
commit
fd9b826f2c
1 changed files with 1 additions and 2 deletions
|
@ -364,11 +364,10 @@ fn debug_parameter_prompt(
|
|||
_ => "".to_owned(),
|
||||
};
|
||||
|
||||
let noop = |_input: &str| Vec::new();
|
||||
let completer = match &field_type[..] {
|
||||
"filename" => ui::completers::filename,
|
||||
"directory" => ui::completers::directory,
|
||||
_ => noop,
|
||||
_ => |_input: &str| Vec::new(),
|
||||
};
|
||||
Prompt::new(
|
||||
format!("{}: ", name).into(),
|
||||
|
|
Loading…
Add table
Reference in a new issue