From eeb9b398579828f64c2e6d814c25d8fccfa884b6 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Tue, 15 Feb 2022 10:33:55 +0900 Subject: Fix build on master --- helix-term/src/commands/dap.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'helix-term/src/commands') 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| { -- cgit v1.2.3-70-g09d2