We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a406b5 commit 756253bCopy full SHA for 756253b
helix-term/src/commands/typed.rs
@@ -1077,12 +1077,13 @@ fn tree_sitter_scopes(
1077
let contents = format!("```json\n{:?}\n````", scopes);
1078
1079
let callback = async move {
1080
- let call: job::Callback =
1081
- Box::new(move |editor: &mut Editor, compositor: &mut Compositor| {
+ let call: job::Callback = Callback::EditorCompositor(Box::new(
+ move |editor: &mut Editor, compositor: &mut Compositor| {
1082
let contents = ui::Markdown::new(contents, editor.syn_loader.clone());
1083
let popup = Popup::new("hover", contents).auto_close(true);
1084
compositor.replace_or_push("hover", popup);
1085
- });
+ },
1086
+ ));
1087
Ok(call)
1088
};
1089
0 commit comments