summaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 084479cc..3d500405 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1897,8 +1897,8 @@ fn append_mode(cx: &mut Context) {
mod cmd {
use super::*;
- use helix_dap::SourceBreakpoint;
use helix_view::editor::Action;
+ use helix_view::editor::Breakpoint;
use ui::completers::{self, Completer};
#[derive(Clone)]
@@ -2563,9 +2563,7 @@ mod cmd {
Ok(())
}
- pub fn get_breakpoint_at_current_line(
- editor: &mut Editor,
- ) -> Option<(usize, SourceBreakpoint)> {
+ pub fn get_breakpoint_at_current_line(editor: &mut Editor) -> Option<(usize, Breakpoint)> {
let (view, doc) = current!(editor);
let text = doc.text().slice(..);