aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
authorBlaž Hrastnik2022-02-15 01:33:55 +0000
committerBlaž Hrastnik2022-02-15 01:33:55 +0000
commiteeb9b398579828f64c2e6d814c25d8fccfa884b6 (patch)
tree226ca0ade135b905e3b3594ba5e9eeb23aa4d15f /helix-term
parent442999384256f89eddfa6625a0ffb0257df65ef7 (diff)
Fix build on master
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/commands/dap.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/helix-term/src/commands/dap.rs b/helix-term/src/commands/dap.rs
index c73f9611..8fda9166 100644
--- a/helix-term/src/commands/dap.rs
+++ b/helix-term/src/commands/dap.rs
@@ -2,7 +2,7 @@ use super::{align_view, Align, Context, Editor};
use crate::{
compositor::{self, Compositor},
job::{Callback, Jobs},
- ui::{self, FilePicker, Picker, Popup, Prompt, PromptEvent, Text},
+ ui::{self, overlay::overlayed, FilePicker, Picker, Popup, Prompt, PromptEvent, Text},
};
use helix_core::{
syntax::{DebugArgumentValue, DebugConfigCompletion},
@@ -330,8 +330,7 @@ pub fn dap_launch(cx: &mut Context) {
let templates = config.templates.clone();
- cx.push_layer(Box::new(Picker::new(
- true,
+ cx.push_layer(Box::new(overlayed(Picker::new(
templates,
|template| template.name.as_str().into(),
|cx, template, _action| {