Fix build on master

pull/1668/head
Blaž Hrastnik 2 years ago
parent 4429993842
commit eeb9b39857

@ -2,7 +2,7 @@ use super::{align_view, Align, Context, Editor};
use crate::{ use crate::{
compositor::{self, Compositor}, compositor::{self, Compositor},
job::{Callback, Jobs}, job::{Callback, Jobs},
ui::{self, FilePicker, Picker, Popup, Prompt, PromptEvent, Text}, ui::{self, overlay::overlayed, FilePicker, Picker, Popup, Prompt, PromptEvent, Text},
}; };
use helix_core::{ use helix_core::{
syntax::{DebugArgumentValue, DebugConfigCompletion}, syntax::{DebugArgumentValue, DebugConfigCompletion},
@ -330,8 +330,7 @@ pub fn dap_launch(cx: &mut Context) {
let templates = config.templates.clone(); let templates = config.templates.clone();
cx.push_layer(Box::new(Picker::new( cx.push_layer(Box::new(overlayed(Picker::new(
true,
templates, templates,
|template| template.name.as_str().into(), |template| template.name.as_str().into(),
|cx, template, _action| { |cx, template, _action| {

Loading…
Cancel
Save