diff options
author | Dmitry Sharshakov | 2021-08-28 16:11:19 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-28 16:11:19 +0000 |
commit | 94901b867796459f8dc3c1479eb896547877d769 (patch) | |
tree | 0c8cb625ab61360cf103a37ec32894254b1d161f /helix-term/src/commands.rs | |
parent | ef155e62ef411425c027a81c44cc76b5258ad48f (diff) |
Customized completion for template parameters
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index e5db1624..af6acb8c 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -4630,6 +4630,13 @@ fn dap_launch(cx: &mut Context) { }; cx.editor.debug_config_picker = Some(config.templates.iter().map(|t| t.name.clone()).collect()); + cx.editor.debug_config_completions = Some( + config + .templates + .iter() + .map(|t| t.completion.clone()) + .collect(), + ); } fn dap_toggle_breakpoint(cx: &mut Context) { |