aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands')
-rw-r--r--helix-term/src/commands/dap.rs8
1 files changed, 6 insertions, 2 deletions
diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs
index e26dc08d..cc013d1e 100644
--- a/helix-term/src/commands/dap.rs
+++ b/helix-term/src/commands/dap.rs
@@ -339,8 +339,12 @@ fn debug_parameter_prompt(
.to_owned();
let completer = match field_type {
- "filename" => ui::completers::filename,
- "directory" => ui::completers::directory,
+ "filename" => |editor: &Editor, input: &str| {
+ ui::completers::filename_with_git_ignore(editor, input, false)
+ },
+ "directory" => |editor: &Editor, input: &str| {
+ ui::completers::directory_with_git_ignore(editor, input, false)
+ },
_ => ui::completers::none,
};