on master help sign in
Fix build on master
eeb9b39Blaž Hrastnik
helix-term/src/commands/dap.rs+2−3
@@ -2,7 +2,7 @@ use super::{align_view, Align, Context, Editor};
2use crate::{
2use crate::{
3 compositor::{self, Compositor},
3 compositor::{self, Compositor},
4 job::{Callback, Jobs},
4 job::{Callback, Jobs},
5− ui::{self, FilePicker, Picker, Popup, Prompt, PromptEvent, Text},
5+ ui::{self, overlay::overlayed, FilePicker, Picker, Popup, Prompt, PromptEvent, Text},
6};
6};
7use helix_core::{
7use helix_core::{
8 syntax::{DebugArgumentValue, DebugConfigCompletion},
8 syntax::{DebugArgumentValue, DebugConfigCompletion},
@@ -330,8 +330,7 @@ pub fn dap_launch(cx: &mut Context) {
330
330
331 let templates = config.templates.clone();
331 let templates = config.templates.clone();
332
332
333− cx.push_layer(Box::new(Picker::new(
333+ cx.push_layer(Box::new(overlayed(Picker::new(
334− true,
335 templates,
334 templates,
336 |template| template.name.as_str().into(),
335 |template| template.name.as_str().into(),
337 |cx, template, _action| {
336 |cx, template, _action| {