on master help sign in
dap: Inline empty completer
commitfd9b826f2c124ce1983191dd632f3e9ca37ba74c authorBlaž Hrastnik <blaz@mxxn.io> dateSun 7 Nov 2021, 18:15 (5 years ago) parent5938ab1
1 file changed+1−2
helix-term/src/commands/dap.rs+1−2
helix-term/src/commands/dap.rs+1−2
@@ -364,11 +364,10 @@ fn debug_parameter_prompt(
364364 _ => "".to_owned(),
365365 };
366366
367− let noop = |_input: &str| Vec::new();
368367 let completer = match &field_type[..] {
369368 "filename" => ui::completers::filename,
370369 "directory" => ui::completers::directory,
371− _ => noop,
370+ _ => |_input: &str| Vec::new(),
372371 };
373372 Prompt::new(
374373 format!("{}: ", name).into(),